keycloak auth log fix

This commit is contained in:
ialbert 2022-10-21 16:00:27 +03:00
parent cff3e0bcd6
commit 30a9cc989e

View file

@ -105,7 +105,7 @@ public class KeycloakRestTemplateAuthenticationProvider implements Authenticatio
KeycloakAuthenticationToken keycloakAuthenticationToken = new KeycloakAuthenticationToken(account, false, realmRoles);
keycloakAuthenticationToken.setAuthenticated(true);
log.debug("login successful: login {}, roles from keycloak: {}; effective roles {}",
principalName,
authentication.getName(),
String.join(";", roles),
String.join(";", effectiveRoles)
);