Merge pull request #1798 from girirajsharma/Keycloak-2044

[KEYCLOAK-2044] Cannot map multiple external roles into Keycloak roles through custom OIDC Identity Provider
This commit is contained in:
Bill Burke 2015-11-30 08:42:03 -05:00
commit f394e2552a

View file

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