public class KeycloakUndertowAccount extends Object implements io.undertow.security.idm.Account, Serializable, OidcKeycloakAccount
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() |
boolean |
equals(Object other) |
RefreshableKeycloakSecurityContext |
getKeycloakSecurityContext() |
Principal |
getPrincipal() |
Set<String> |
getRoles() |
int |
hashCode() |
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.Account
getPrincipal
in interface KeycloakAccount
public Set<String> getRoles()
getRoles
in interface io.undertow.security.idm.Account
getRoles
in interface KeycloakAccount
public RefreshableKeycloakSecurityContext getKeycloakSecurityContext()
getKeycloakSecurityContext
in interface OidcKeycloakAccount
public void setCurrentRequestInfo(KeycloakDeployment deployment, AdapterTokenStore tokenStore)
public boolean checkActive()
Copyright © 2021 JBoss by Red Hat. All rights reserved.