|
||||||||
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 FormConstructor 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.Principal
CSISimplePrincipal
public java.lang.String toString()
CSISimplePrincipal
.
toString
in interface java.security.Principal
toString
in class java.lang.Object
CSISimplePrincipal
.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.Principal
equals
in class java.lang.Object
o
- Object to be compared for equality with this
CSISimplePrincipal
.
CSISimplePrincipal
.public int hashCode()
CSISimplePrincipal
.
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
CSISimplePrincipal
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |