| java.lang.Object org.apache.jetspeed.security.impl.BasePrincipalImpl org.apache.jetspeed.security.impl.UserPrincipalImpl
All known Subclasses: org.apache.jetspeed.security.impl.UserSubjectPrincipalImpl,
UserPrincipalImpl | public UserPrincipalImpl(String userName)(Code) | | The user principal constructor.
Parameters: userName - The user principal name. |
UserPrincipalImpl | public UserPrincipalImpl(String userName, boolean isMapping)(Code) | | |
UserPrincipalImpl | public UserPrincipalImpl(String userName, 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_USER_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_GROUP_ROOT if present.
Parameters: fullPath - The principal full path. The principal name. |
useHierarchicalNames | final public static Object useHierarchicalNames(boolean hierarchicalNames)(Code) | | |
|
|