public class RoleMapManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addRoleMap(RoleMap roleMap)
Adds a role map.
|
static RoleMapManager |
create()
Returns the current manager, creating if necessary.
|
static RoleMapManager |
getCurrent()
Returns the current manager.
|
java.lang.Boolean |
isUserInRole(java.lang.String role,
java.security.Principal user)
Checks for role matching.
|
java.lang.String |
toString() |
public static RoleMapManager getCurrent()
public static RoleMapManager create()
public void addRoleMap(RoleMap roleMap)
public java.lang.Boolean isUserInRole(java.lang.String role, java.security.Principal user)
public java.lang.String toString()
toString
in class java.lang.Object