public class KeycloakUndertowAccount extends Object implements io.undertow.security.idm.Account, Serializable, KeycloakAccount
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
accountRoles |
protected static org.jboss.logging.Logger |
log |
protected KeycloakPrincipal<RefreshableKeycloakSecurityContext> |
principal |
| Constructor and Description |
|---|
KeycloakUndertowAccount(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkActive() |
RefreshableKeycloakSecurityContext |
getKeycloakSecurityContext() |
Principal |
getPrincipal() |
Set<String> |
getRoles() |
void |
setCurrentRequestInfo(KeycloakDeployment deployment,
AdapterTokenStore tokenStore) |
protected void |
setRoles(RefreshableKeycloakSecurityContext session) |
protected static org.jboss.logging.Logger log
protected KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal
public KeycloakUndertowAccount(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
protected void setRoles(RefreshableKeycloakSecurityContext session)
public Principal getPrincipal()
getPrincipal in interface io.undertow.security.idm.AccountgetPrincipal in interface KeycloakAccountpublic Set<String> getRoles()
getRoles in interface io.undertow.security.idm.AccountgetRoles in interface KeycloakAccountpublic RefreshableKeycloakSecurityContext getKeycloakSecurityContext()
getKeycloakSecurityContext in interface KeycloakAccountpublic void setCurrentRequestInfo(KeycloakDeployment deployment, AdapterTokenStore tokenStore)
public boolean checkActive()
Copyright © 2014. All Rights Reserved.