Skip to content

Commit

Permalink
KEYCLOAK-2428 Log also other accesses
Browse files Browse the repository at this point in the history
  • Loading branch information
mhajas committed Feb 5, 2016
1 parent 1c0f1b4 commit 8a85528
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -154,6 +154,7 @@ protected void completeAuthentication(OAuthRequestAuthenticator oauth) {
RefreshableKeycloakSecurityContext session = new RefreshableKeycloakSecurityContext(deployment, tokenStore, oauth.getTokenString(), oauth.getToken(), oauth.getIdTokenString(), oauth.getIdToken(), oauth.getRefreshToken());
final KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal = new KeycloakPrincipal<RefreshableKeycloakSecurityContext>(AdapterUtils.getPrincipalName(deployment, oauth.getToken()), session);
completeOAuthAuthentication(principal);
log.debugv("User ''{0}'' invoking ''{1}'' on client ''{2}''", principal.getName(), facade.getRequest().getURI(), deployment.getResourceName());
}

protected abstract void completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal);
Expand Down

0 comments on commit 8a85528

Please sign in to comment.