|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.openorb.orb.csiv2.CSIServerJAASModule.CSISimplePrincipal
public class CSIServerJAASModule.CSISimplePrincipal
This class implements the Principal interface
and represents a Simple user.
Principal,
Subject,
Serialized Form| Constructor Summary | |
|---|---|
CSIServerJAASModule.CSISimplePrincipal(java.lang.String name)
Create a CSISimplePrincipal with a Simple username. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares the specified Object with this CSISimplePrincipal
for equality. |
java.lang.String |
getName()
Return the username for this CSISimplePrincipal. |
int |
hashCode()
Return a hash code for this CSISimplePrincipal. |
java.lang.String |
toString()
Return a string representation of this CSISimplePrincipal. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CSIServerJAASModule.CSISimplePrincipal(java.lang.String name)
name - the Simple username for this user.
java.lang.NullPointerException - if the name
is null.| Method Detail |
|---|
public java.lang.String getName()
CSISimplePrincipal.
getName in interface java.security.PrincipalCSISimplePrincipalpublic java.lang.String toString()
CSISimplePrincipal.
toString in interface java.security.PrincipaltoString in class java.lang.ObjectCSISimplePrincipal.public boolean equals(java.lang.Object o)
CSISimplePrincipal
for equality. Returns true if the given object is also a
CSISimplePrincipal and the two CSISimplePrincipals
have the same username.
equals in interface java.security.Principalequals in class java.lang.Objecto - Object to be compared for equality with this
CSISimplePrincipal.
CSISimplePrincipal.public int hashCode()
CSISimplePrincipal.
hashCode in interface java.security.PrincipalhashCode in class java.lang.ObjectCSISimplePrincipal.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||