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 KeycloakAccount
public Set<String> getRoles()
getRoles
in interface KeycloakAccount
public RefreshableKeycloakSecurityContext getKeycloakSecurityContext()
getKeycloakSecurityContext
in interface OidcKeycloakAccount
Copyright © 2021 JBoss by Red Hat. All rights reserved.