public interface UserToRolesMapper
extends org.h2.security.auth.Configurable
This feature is experimental and subject to change
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
mapUserToRoles(org.h2.security.auth.AuthenticationInfo authenticationInfo)
Map user identified by authentication info to a set of granted roles.
|
java.util.Collection<java.lang.String> mapUserToRoles(org.h2.security.auth.AuthenticationInfo authenticationInfo) throws org.h2.security.auth.AuthenticationException
authenticationInfo
- authentication informationorg.h2.security.auth.AuthenticationException
- on authentication exception