public abstract class RoleManager
extends java.lang.Object
 
 This class is not intended for subclassing by extension writers. Retrieve
 an instance of the RoleManager using 
 ExtensionRegistry.getRoleManager().
| Modifier and Type | Field and Description | 
|---|---|
static Role | 
NO_ROLE
The special predefined role that indicates no role is active. 
 | 
| Constructor and Description | 
|---|
RoleManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract boolean | 
canSwitchRoles()
Indicates whether or not the product supports switching roles. 
 | 
abstract Role | 
getActiveRole()
Gets the active role. 
 | 
boolean | 
isDefaultRoleActive()
Returns true if the default role is active. 
 | 
public static final Role NO_ROLE
public abstract Role getActiveRole()
public abstract boolean canSwitchRoles()
public final boolean isDefaultRoleActive()