| IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1 |
java.lang.Object
|
+--com.ibm.websphere.objectgrid.security.plugins.builtins.SimpleUserPrincipal
This class implements the Principal
interface
and represents a simple user.
See Also:
PrincipalSubject
Constructor Summary | |
---|---|
SimpleUserPrincipal(java.lang.String)
Create a SimpleUserPrincipal with a username.. |
Method Summary | |
---|---|
public
String | getName()
Return the username for this SimpleUserPrincipal ..
|
public
String | toString()
Return a string representation of this SimpleUserPrincipal ..
|
public
boolean | equals(java.lang.Object)
Compares the specified Object with this SimpleUserPrincipal
for equality.
|
public
int | hashCode()
Return a hash code for this SimpleUserPrincipal ..
|
Methods inherited from java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SimpleUserPrincipal( | String _name )
|
_name
-
the Sample username for this user.
Method Detail |
public String getName( | ) |
SimpleUserPrincipal
.
SimpleUserPrincipal
public String toString( | ) |
SimpleUserPrincipal
.
SimpleUserPrincipal
.
public boolean equals( | Object o )
|
SimpleUserPrincipal
for equality. Returns true if the given object is also a
SimpleUserPrincipal
and the two SimplePrincipals
have the same username.
o
-
Object to be compared for equality with this
SimpleUserPrincipal
.
SimpleUserPrincipal
.
public int hashCode( | ) |
SimpleUserPrincipal
.
SimpleUserPrincipal
.
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1 |