|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.objectgrid.security.plugins.builtins.SimpleDeptPrincipal
public class SimpleDeptPrincipal
This class implements the Principal
interface
and represents a simple user.
Principal
,
Subject
,
Serialized FormConstructor Summary | |
---|---|
SimpleDeptPrincipal(String _name)
Creates a SimpleDeptPrincipal with a username. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compares the specified Object with this SimpleDeptPrincipal
for equality. |
String |
getName()
Gets the user name for this SimpleDeptPrincipal . |
int |
hashCode()
Returns a hash code for this SimpleDeptPrincipal . |
String |
toString()
Returns a string representation of this SimpleDeptPrincipal . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleDeptPrincipal(String _name)
_name
- the user name for this user.
IllegalArgumentException
- if the name
is null
.Method Detail |
---|
public String getName()
SimpleDeptPrincipal
.
getName
in interface Principal
SimpleDeptPrincipal
public String toString()
SimpleDeptPrincipal
.
toString
in interface Principal
toString
in class Object
SimpleDeptPrincipal
.public boolean equals(Object o)
SimpleDeptPrincipal
for equality.
Returns true
if the given object is also a
SimpleDeptPrincipal
and the two SimpleDeptPrincipals
have the same user names.
equals
in interface Principal
equals
in class Object
o
- Object to be compared for equality with this
SimpleDeptPrincipal
.
true
if the specified Object is equal to this
SimpleDeptPrincipal
.public int hashCode()
SimpleDeptPrincipal
.
hashCode
in interface Principal
hashCode
in class Object
SimpleDeptPrincipal
.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |