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 |
principal |
protected RefreshableKeycloakSecurityContext |
session |
| Constructor and Description |
|---|
KeycloakUndertowAccount(KeycloakPrincipal principal,
RefreshableKeycloakSecurityContext session,
KeycloakDeployment deployment) |
| Modifier and Type | Method and Description |
|---|---|
RefreshableKeycloakSecurityContext |
getKeycloakSecurityContext() |
Principal |
getPrincipal() |
Set<String> |
getRoles() |
boolean |
isActive() |
void |
setDeployment(KeycloakDeployment deployment) |
protected void |
setRoles(AccessToken accessToken) |
protected static org.jboss.logging.Logger log
protected RefreshableKeycloakSecurityContext session
protected KeycloakPrincipal principal
public KeycloakUndertowAccount(KeycloakPrincipal principal, RefreshableKeycloakSecurityContext session, KeycloakDeployment deployment)
protected void setRoles(AccessToken accessToken)
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 setDeployment(KeycloakDeployment deployment)
public boolean isActive()
Copyright © 2014. All Rights Reserved.