Class SimpleKeycloakAccount
java.lang.Object
org.keycloak.adapters.springsecurity.account.SimpleKeycloakAccount
- All Implemented Interfaces:
Serializable,OidcKeycloakAccount,KeycloakAccount
Concrete, serializable
OidcKeycloakAccount implementation.- Version:
- $Revision: 1 $
- Author:
- Scott Rossillo
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleKeycloakAccount(Principal principal, Set<String> roles, RefreshableKeycloakSecurityContext securityContext) -
Method Summary
-
Constructor Details
-
SimpleKeycloakAccount
public SimpleKeycloakAccount(Principal principal, Set<String> roles, RefreshableKeycloakSecurityContext securityContext)
-
-
Method Details
-
getPrincipal
- Specified by:
getPrincipalin interfaceKeycloakAccount
-
getRoles
- Specified by:
getRolesin interfaceKeycloakAccount
-
getKeycloakSecurityContext
- Specified by:
getKeycloakSecurityContextin interfaceOidcKeycloakAccount
-