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