|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.security.RealmPrincipal
Represents a principal in an realm.
| Constructor Summary | |
RealmPrincipal(String realm,
Principal principal)
|
|
| Method Summary | |
boolean |
equals(Object another)
Compares this principal to the specified object. |
long |
getId()
|
String |
getName()
Returns the name of this principal. |
Principal |
getPrincipal()
Returns the principal that is associated with the realm. |
String |
getRealm()
Returns the realm that is associated with the principal. |
int |
hashCode()
Returns a hashcode for this principal. |
String |
toString()
Returns a string representation of this principal. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RealmPrincipal(String realm,
Principal principal)
| Method Detail |
public long getId()
public boolean equals(Object another)
equals in interface Principalanother - principal to compare with.
public String toString()
toString in interface Principalpublic int hashCode()
hashCode in interface Principalpublic String getName()
getName in interface Principalpublic Principal getPrincipal()
public String getRealm()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||