| |
|
| java.lang.Object com.sun.jbi.security.auth.UserPrincipal
Constructor Summary | |
public | UserPrincipal(String name) Create a UserPrincipal with the user name.
Parameters: name - the username for this user. |
Method Summary | |
public boolean | equals(Object obj) Compares the specified Object with this UserPrincipal
for equality. | public String | getName() | public int | hashCode() a hash code for this UserPrincipal. | public String | toString() a string representation of this UserPrincipal. |
UserPrincipal | public UserPrincipal(String name)(Code) | | Create a UserPrincipal with the user name.
Parameters: name - the username for this user. |
equals | public boolean equals(Object obj)(Code) | | Compares the specified Object with this UserPrincipal
for equality. Returns true if the given object is also a
UserPrincipal instance and the two UserPrincipals have
the same username.
Parameters: obj - Object to be compared for equality with this UserPrincipal. true if the specified Object is equal equal to this UserPrincipal. |
getName | public String getName()(Code) | | the username of this Principal |
hashCode | public int hashCode()(Code) | | a hash code for this UserPrincipal. |
toString | public String toString()(Code) | | a string representation of this UserPrincipal. |
|
|
|