|
|||||||||||
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 Principal
another
- principal to compare with.
public String toString()
toString
in interface Principal
public int hashCode()
hashCode
in interface Principal
public String getName()
getName
in interface Principal
public Principal getPrincipal()
public String getRealm()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |