| java.lang.Object org.apache.jetspeed.security.impl.BasePrincipalImpl org.apache.jetspeed.security.impl.RolePrincipalImpl
RolePrincipalImpl | public RolePrincipalImpl(String roleName)(Code) | | The role principal constructor.
Parameters: roleName - The role principal name. |
RolePrincipalImpl | public RolePrincipalImpl(String roleName, boolean isEnabled, boolean isMapping)(Code) | | |
equals | public boolean equals(Object another)(Code) | | Compares this principal to the specified object. Returns true
if the object passed in matches the principal represented by
the implementation of this interface.
Parameters: another - Principal to compare with. True if the principal passed in is the same as thatencapsulated by this principal, and false otherwise. |
getFullPathFromPrincipalName | public static String getFullPathFromPrincipalName(String name)(Code) | | Gets the principal implementation full path from the principal name.
Prepends PREFS_ROLE_ROOT if not prepended.
Parameters: name - The principal name. The preferences full path / principal name. |
getPrincipalNameFromFullPath | public static String getPrincipalNameFromFullPath(String fullPath)(Code) | | Gets the principal name from the principal implementation full path.
Remove prepended PREFS_ROLE_ROOT if present.
Parameters: fullPath - The principal full path. The principal name. |
useHierarchicalNames | final public static Object useHierarchicalNames(boolean hierarchicalNames)(Code) | | |
|
|