Novell exteNd
Director 5.2 API

com.sssw.fw.directory.api
Interface EbiRealmPrincipal

All Superinterfaces:
Principal
All Known Subinterfaces:
EbiRealmContainer, EbiRealmGroup, EbiRealmUser

public interface EbiRealmPrincipal
extends Principal

The wrapper Principal used by realms. The original principal implementation can be used in order to leverage existing principal functionality and APIs. This is a common superinterface for the actual principal types.


Method Summary
 String getFullQualifiedName()
          Gets the fully qualified principal name of the user, including the realm name prefix.
 Principal getPrincipal()
          Gets the original principal that this object is a wrapper of.
 String getPrincipalType()
          Gets the principal type.
 String getRealm()
          Gets the name of the realm to which the principal belongs.
 String getShortName()
          Gets the short name of the user which is typically the username.
 String getUniqueID()
          Gets the unqiue identifier of the principal.
 
Methods implemented from interface java.security.Principal
equals, getName, hashCode, toString
 

Method Detail

getPrincipalType

public String getPrincipalType()
Gets the principal type.
Returns:
the principal type

getPrincipal

public Principal getPrincipal()
Gets the original principal that this object is a wrapper of.
Returns:
the original principal

getRealm

public String getRealm()
Gets the name of the realm to which the principal belongs.
Returns:
the realm name

getUniqueID

public String getUniqueID()
Gets the unqiue identifier of the principal.
Returns:
the unique identifier

getFullQualifiedName

public String getFullQualifiedName()
Gets the fully qualified principal name of the user, including the realm name prefix.
Returns:
the fully qualified principal name

getShortName

public String getShortName()
Gets the short name of the user which is typically the username.
Returns:
the short name.

Novell exteNd
Director 5.2 API