Revert "KEYCLOAK-4727 KEYCLOAK-4652 - Fixing protocol mappers when evaluating policies using the tool"

This commit is contained in:
Bill Burke 2017-04-06 18:24:31 -04:00 committed by GitHub
parent 7cf8bd2dcf
commit 54cd41c955

View file

@ -245,7 +245,6 @@ public class PolicyEvaluationService {
requestedRoles.add(role);
}
}
clientSession.setProtocolMappers(clientModel.getProtocolMappers().stream().map(protocolMapperModel -> protocolMapperModel.getId()).collect(Collectors.toSet()));
accessToken = new TokenManager().createClientAccessToken(keycloakSession, requestedRoles, realm, clientModel, userModel, userSession, clientSession);
}
}