public interface PrincipalEntry
Note: This interface is defined as a mechanism to exchange information only. The consumer must not implement this interface. Rather, the consumer should rely upon the existing public classes that implement this interface.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAppID()
Returns the name of the application to which the principal is scoped to.
|
java.lang.String |
getClassName()
Return the name of the class implementing the principal.
|
java.lang.String |
getDescription()
Returns the description (if any).
|
java.lang.String |
getDisplayName()
Returns the display name
|
java.lang.String |
getGuid()
Returns the GUID (if any) associated with this principal.
|
java.lang.String |
getName()
Name of the entry.
|
java.security.Principal |
getPrincipal()
Return the underlying Java
Principal object. |
java.lang.String |
getPrincipalName()
Returns the name of the principal.
|
java.lang.String |
getType()
Return the type of the Principal.
|
java.lang.String |
getUniqueName()
Returns the name of the principal that uniquely identifies the principal in its underlying policy or identity store (i.e.
|
java.lang.String getType()
If the principal is a JpsPrincipalType
, then the value returned is the toString() value of the PrincipalType defined by JpsPrincipalType
.
For a principal entry representing a custom principal (i.e. not a JpsPrincipalType
), then a null string must be returned.
java.lang.String getClassName()
java.lang.String getPrincipalName()
java.security.Principal getPrincipal()
Principal
object.java.lang.String getUniqueName()
java.lang.String getAppID()
java.lang.String getName()
java.lang.String getGuid()
java.lang.String getDisplayName()
java.lang.String getDescription()