|
JBoss Remoting 3 3.2.8.SP1 | |||||||||
| 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 user| Method Detail |
|---|
public String getName()
getName in interface Principalpublic int hashCode()
hashCode in interface PrincipalhashCode in class Objectpublic boolean equals(Object other)
equals in interface Principalequals in class Objectother - 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.8.SP1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||