|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.security.auth.AIXPrincipal
public class AIXPrincipal
This class implements the Principal interface
and represents an AIX user.
Principals such as this AIXPrincipal
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 UsernamePrincipal in future
releases of JAAS.
Principal,
Subject,
UsernamePrincipal,
Serialized Form| Constructor Summary | |
|---|---|
AIXPrincipal(java.lang.String name)
Create an AIXPrincipal with a AIX username. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares the specified Object with this AIXPrincipal
for equality. |
java.lang.String |
getName()
Return the AIX username for this AIXPrincipal. |
int |
hashCode()
Return a hash code for this AIXPrincipal. |
java.lang.String |
toString()
Return a string representation of this AIXPrincipal. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AIXPrincipal(java.lang.String name)
AIXPrincipal with a AIX username.
name - the AIX username for this user.
java.lang.NullPointerException - if the name
is null.| Method Detail |
|---|
public java.lang.String getName()
AIXPrincipal.
getName in interface java.security.PrincipalAIXPrincipalpublic java.lang.String toString()
AIXPrincipal.
toString in interface java.security.PrincipaltoString in class java.lang.ObjectAIXPrincipal.public boolean equals(java.lang.Object o)
AIXPrincipal
for equality. Returns true if the given object is also an
AIXPrincipal and the two AIXPrincipals
have the same name.
equals in interface java.security.Principalequals in class java.lang.Objecto - Object to be compared for equality with this
AIXPrincipal.
AIXPrincipal.public int hashCode()
AIXPrincipal.
hashCode in interface java.security.PrincipalhashCode in class java.lang.ObjectAIXPrincipal.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||