|
JBoss Remoting 3 3.2.13.GA-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting3.security.UserPrincipal
public final class UserPrincipal
A principal representing an authenticated user.
Constructor Summary | |
---|---|
UserPrincipal(String name)
Construct a new instance. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Determine whether this object is equal to another. |
boolean |
equals(UserPrincipal other)
Determine whether this object is equal to another. |
String |
getName()
Get the name of this principal. |
int |
hashCode()
Get the hash code. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
---|
toString |
Constructor Detail |
---|
public UserPrincipal(String name)
name
- the name of the userMethod Detail |
---|
public String getName()
getName
in interface Principal
public int hashCode()
hashCode
in interface Principal
hashCode
in class Object
public boolean equals(Object other)
equals
in interface Principal
equals
in class Object
other
- the other object
true
if they are equal, false
otherwisepublic boolean equals(UserPrincipal other)
other
- the other object
true
if they are equal, false
otherwise
|
JBoss Remoting 3 3.2.13.GA-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |