Project Aristotle - ArisID Attribute Services

org.openliberty.arisid.stack
Class RoleIdentifierPrincipal

java.lang.Object
  extended by org.openliberty.arisid.stack.RoleIdentifierPrincipal
All Implemented Interfaces:
java.security.Principal, IPrincipalIdentifier, IRoleIdentifier

public class RoleIdentifierPrincipal
extends java.lang.Object
implements IRoleIdentifier


Constructor Summary
RoleIdentifierPrincipal(RoleDef role, IPrincipalIdentifier princ)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getPrimaryContext()
           
 RoleDef getRoleDef()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode
 

Constructor Detail

RoleIdentifierPrincipal

public RoleIdentifierPrincipal(RoleDef role,
                               IPrincipalIdentifier princ)
Method Detail

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

OpenLiberty.org - Licensed under Apache APL 2.0