Fix broken symbol
This commit is contained in:
1 parent
62bcf17a1e
commit
f3940bf78c
1 file changed
+1
-1
+1
-1
@@ -70,7 +70,7 @@ public class CatalinaRequestAuthenticator extends RequestAuthenticator {
|
|||||||
protected void completeBearerAuthentication(KeycloakPrincipal principal, RefreshableKeycloakSecurityContext securityContext) {
|
protected void completeBearerAuthentication(KeycloakPrincipal principal, RefreshableKeycloakSecurityContext securityContext) {
|
||||||
Set<String> roles = getRolesFromToken(securityContext);
|
Set<String> roles = getRolesFromToken(securityContext);
|
||||||
for (String role : roles) {
|
for (String role : roles) {
|
||||||
log.debug("Bearer role: " + role);
|
log.info("Bearer role: " + role);
|
||||||
}
|
}
|
||||||
Principal generalPrincipal = new CatalinaSecurityContextHelper().createPrincipal(request.getContext().getRealm(), principal, roles, securityContext);
|
Principal generalPrincipal = new CatalinaSecurityContextHelper().createPrincipal(request.getContext().getRealm(), principal, roles, securityContext);
|
||||||
request.setUserPrincipal(generalPrincipal);
|
request.setUserPrincipal(generalPrincipal);
|
||||||
|
|||||||
Reference in new issue
Block a user