|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.security.auth.AIXNumericUserPrincipal
public class AIXNumericUserPrincipal
This class represents a user's AIX identification number (UID).
Principals such as this AIXNumericUserPrincipal
may be associated with a particular Subject
to augment that Subject with an additional
identity. Refer to the Subject class for more information
on how to achieve this. Authorization decisions can then be based upon
the Principals associated with a Subject.
This class will be replaced by UserIDPrincipal in future
releases of JAAS.
Principal,
Subject,
UserIDPrincipal,
Serialized Form| Constructor Summary | |
|---|---|
AIXNumericUserPrincipal(long name)
Create an AIXNumericUserPrincipal using a
long representation of the user's identification number (UID). |
|
AIXNumericUserPrincipal(java.lang.String name)
Create an AIXNumericUserPrincipal using a
String representation of the
user's identification number (UID). |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares the specified Object with this AIXNumericUserPrincipal
for equality. |
java.lang.String |
getName()
Return the user identification number (UID) for this AIXNumericUserPrincipal. |
int |
hashCode()
Return a hash code for this AIXNumericUserPrincipal. |
long |
longValue()
Return the user identification number (UID) for this AIXNumericUserPrincipal as a long. |
java.lang.String |
toString()
Return a string representation of this AIXNumericUserPrincipal. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AIXNumericUserPrincipal(java.lang.String name)
AIXNumericUserPrincipal using a
String representation of the
user's identification number (UID).
name - the user identification number (UID) for this user.
java.lang.NullPointerException - if the name
is null.public AIXNumericUserPrincipal(long name)
AIXNumericUserPrincipal using a
long representation of the user's identification number (UID).
name - the user identification number (UID) for this user
represented as a long.| Method Detail |
|---|
public java.lang.String getName()
AIXNumericUserPrincipal.
getName in interface java.security.PrincipalAIXNumericUserPrincipalpublic long longValue()
AIXNumericUserPrincipal as a long.
AIXNumericUserPrincipal as a long.public java.lang.String toString()
AIXNumericUserPrincipal.
toString in interface java.security.PrincipaltoString in class java.lang.ObjectAIXNumericUserPrincipal.public boolean equals(java.lang.Object o)
AIXNumericUserPrincipal
for equality. Returns true if the given object is also a
AIXNumericUserPrincipal and the two
AIXNumericUserPrincipals
have the same user identification number (UID).
equals in interface java.security.Principalequals in class java.lang.Objecto - Object to be compared for equality with this
AIXNumericUserPrincipal.
AIXNumericUserPrincipal.public int hashCode()
AIXNumericUserPrincipal.
hashCode in interface java.security.PrincipalhashCode in class java.lang.ObjectAIXNumericUserPrincipal.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||