org.openliberty.arisid.stack
Class RoleIdentifierPrincipal
java.lang.Object
org.openliberty.arisid.stack.RoleIdentifierPrincipal
- All Implemented Interfaces:
- java.security.Principal, IPrincipalIdentifier, IRoleIdentifier
public class RoleIdentifierPrincipal
- extends java.lang.Object
- implements IRoleIdentifier
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.Principal |
equals, hashCode |
RoleIdentifierPrincipal
public RoleIdentifierPrincipal(RoleDef role,
IPrincipalIdentifier princ)
getRoleDef
public RoleDef getRoleDef()
- Specified by:
getRoleDef
in interface IRoleIdentifier
getName
public java.lang.String getName()
- Specified by:
getName
in interface java.security.Principal
- Specified by:
getName
in interface IPrincipalIdentifier
getPrimaryContext
public java.lang.String getPrimaryContext()
- Specified by:
getPrimaryContext
in interface IPrincipalIdentifier
- Returns:
- An identifier for the primary context for this Principal
toString
public java.lang.String toString()
- Specified by:
toString
in interface java.security.Principal
- Overrides:
toString
in class java.lang.Object