PDPrincipal: method and constructor summary

The PDPrincipal class implements the Principal interface and contains the credentials of an authenticated Verify Identity Access user.

See the Javadoc information in the Verify Identity Access Runtime for Java installation package for detailed documentation about this class.

Table 1. Methods and constructors for PDPrincipal class
Methods and Constructors Description

PDPrincipal

Constructors that create an instance of the PDPrincipal class.

addAttribute

Returns a new PDPrincipal that contains the added credential attribute.

addAttrlist

Returns a new PDPrincipal that contains the modified credential attribute list.

addGroupMemberships

Returns a new PDPrincipal that adds these group memberships to the current PDPrincipal.

equals

Compares the specified Object with this PDPrincipal for equality.

getAttribute

Returns the values for the attribute.

getAttributeNames

Returns the attribute names in the credential attribute list.

getAttributeValue

Returns the value for the attribute.

getAttrlist

Returns a copy of the credential attribute list for this principal.

getEntitlements

Returns all the objects to which this PDPrincipal has the specified access.

getName

Returns a string name of this PDPrincipal.

getPAC

Obtains an architecture and network independent encoding of this principal.

hashCode

Returns a hash code for this PDPrincipal.

implies

Checks if whether the specified Subject is implied by this object.

readExternal

Reads the state of the PDPrincipal instance from a stream.

removeAttribute

Returns a new PDPrincipal that does not contain the named attribute.

removeGroupMemberships

Returns a new PDPrincipal that removes these group memberships from the current PDPrincipal.

setAttribute

Returns a new PDPrincipal that contains the modified attribute.

setAttrlist

Return a new PDPrincipal that contains the modified credential attribute list.

setContext

Sets the authorization context of this PDPrincipal instance.

toString

Returns a string representation of this PDPrincipal.

writeExternal

Saves the state of the PDPrincipal instance to a stream (that is, serializes it).