public interface Realm
Modifier and Type | Method and Description |
---|---|
AuthenticationInfo |
getAuthenticationInfo(AuthenticationToken token)
Authenticates the user and retrieves its properties in an
AuthenticationInfo |
Set<String> |
getRealmRoles(PrincipalProvider<?> identityPrincipal,
Collection<PrincipalProvider<?>> otherPrincipals)
Get the roles
|
RoleMapping |
getRoleMapping()
Retrieves the RoleMapping associated to this realm
|
RolePermissionResolver |
getRolePermissionResolver()
Retrieves the RolePermissionResolver associated to this realm
|
Class<? extends AuthenticationToken> |
supportedToken()
Indicates the authentication token supported by this realm
|
Set<String> getRealmRoles(PrincipalProvider<?> identityPrincipal, Collection<PrincipalProvider<?>> otherPrincipals)
identityPrincipal
- principal representing the identity of the userotherPrincipals
- other principalsAuthenticationInfo getAuthenticationInfo(AuthenticationToken token) throws AuthenticationException
AuthenticationInfo
token
- the credentialsAuthenticationException
- if the user cannot be authenticated.RoleMapping getRoleMapping()
RolePermissionResolver getRolePermissionResolver()
Class<? extends AuthenticationToken> supportedToken()
Copyright © 2013-2018–2019 SeedStack. All rights reserved.