[KEYCLOAK-2044] Cannot map multiple external roles into Keycloak roles through custom OIDC Identity Provider

This commit is contained in:
girirajsharma 2015-11-08 20:10:14 +05:30
parent 15828e899b
commit dd2824ab20

View file

@ -89,7 +89,7 @@ public abstract class AbstractClaimMapper extends AbstractIdentityProviderMapper
} else if (value instanceof List) { } else if (value instanceof List) {
List list = (List)value; List list = (List)value;
for (Object val : list) { for (Object val : list) {
return valueEquals(desiredValue, val); if (valueEquals(desiredValue, val)) return true;
} }
} }
return false; return false;