Project Aristotle - ArisID Attribute Services

org.openliberty.arisid.stack
Interface IPrincipalIdentifier

All Superinterfaces:
java.security.Principal
All Known Subinterfaces:
IMultiContextIdentifier, IRoleIdentifier
All Known Implementing Classes:
PrincipalIdentifier, RoleIdentifierPrincipal

public interface IPrincipalIdentifier
extends java.security.Principal

Used to hold a unique identifier that can represent a principal in an IGF enabled Attribute Service. The identifier is not necessarily universal and may only be relevant for a particular Attribute Service Stack context.

For reporting purposes only, IPrincipalIdentifier can be used to retrieve information about whether the principal is mapped to one or more context providers (an entity that has attributes in multiple contexts).


Method Summary
 java.lang.String getName()
           
 java.lang.String getPrimaryContext()
           
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Method Detail

getPrimaryContext

java.lang.String getPrimaryContext()
Returns:
An identifier for the primary context for this Principal

getName

java.lang.String getName()
Specified by:
getName in interface java.security.Principal

OpenLiberty.org - Licensed under Apache APL 2.0