|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.security.DomainPrincipal
public class 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 Principal
equals
in class Object
public String toString()
toString
in interface Principal
toString
in class Object
public int hashCode()
hashCode
in interface Principal
hashCode
in class Object
public String getName()
getName
in interface Principal
public Principal getPrincipal()
public String getDomain()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |