|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.security.DomainPrincipal
Represents a principal in an realm.
| Constructor Summary | |
DomainPrincipal(String domain,
Principal principal)
|
|
| Method Summary | |
boolean |
equals(Object o)
|
String |
getDomain()
Returns the realm that is associated with the principal. |
String |
getName()
Returns the name of this principal. |
Principal |
getPrincipal()
Returns the principal that is associated with the realm. |
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 DomainPrincipal(String domain,
Principal principal)
| Method Detail |
public boolean equals(Object o)
equals in interface Principalpublic String toString()
toString in interface Principalpublic int hashCode()
hashCode in interface Principalpublic String getName()
getName in interface Principalpublic Principal getPrincipal()
public String getDomain()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||