KEYCLOAK-3779 ClientRegistrationPolicies test failing

This commit is contained in:
mposolda 2016-10-21 10:22:57 +02:00
parent 4d47f758fc
commit c79378ca5f

View file

@ -37,6 +37,10 @@ public class StripSecretsUtils {
public static ComponentRepresentation strip(KeycloakSession session, ComponentRepresentation rep) {
Map<String, ProviderConfigProperty> configProperties = ComponentUtil.getComponentConfigProperties(session, rep);
if (rep.getConfig() == null) {
return rep;
}
Iterator<Map.Entry<String, List<String>>> itr = rep.getConfig().entrySet().iterator();
while (itr.hasNext()) {
Map.Entry<String, List<String>> next = itr.next();