USER
- User typeROLE
- Role typepublic abstract class AbstractMultiUserAndRoleConfig<USER,ROLE> extends AbstractMultiUserConfig<USER,java.util.Collection<ROLE>>
Constructor and Description |
---|
AbstractMultiUserAndRoleConfig()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected ROLE |
identifierPartToRole(java.lang.String identifier)
Maps single multi-role role part to a role.
|
java.util.Collection<ROLE> |
stringToRole(java.lang.String role)
Transforms the given role to a collection of roles using
identifierPartToRole(String)
method. |
getAuthorizationRule, getConsumer, getConsumerRoleContainer, getDefaultException, getProducer, getProducerRoleContainer, getRandomUsername, initialize, loginAnonymous, logInAs, setAuthorizationRule, setUsers
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createUser, getUserByUsername
loginWithUser
public AbstractMultiUserAndRoleConfig()
public java.util.Collection<ROLE> stringToRole(java.lang.String role)
identifierPartToRole(String)
method.role
- Role as string.protected ROLE identifierPartToRole(java.lang.String identifier)
stringToRole(String)
method is used.identifier
- Multi-role identifier part