public class SimpleKeycloakAccount extends Object implements OidcKeycloakAccount, Serializable
OidcKeycloakAccount implementation.| Constructor and Description |
|---|
SimpleKeycloakAccount(Principal principal,
Set<String> roles,
RefreshableKeycloakSecurityContext securityContext) |
| Modifier and Type | Method and Description |
|---|---|
RefreshableKeycloakSecurityContext |
getKeycloakSecurityContext() |
Principal |
getPrincipal() |
Set<String> |
getRoles() |
public SimpleKeycloakAccount(Principal principal, Set<String> roles, RefreshableKeycloakSecurityContext securityContext)
public Principal getPrincipal()
getPrincipal in interface KeycloakAccountpublic Set<String> getRoles()
getRoles in interface KeycloakAccountpublic RefreshableKeycloakSecurityContext getKeycloakSecurityContext()
getKeycloakSecurityContext in interface OidcKeycloakAccountCopyright © 2020 JBoss by Red Hat. All rights reserved.