|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Principalequals in class Objectpublic String toString()
toString in interface PrincipaltoString in class Objectpublic int hashCode()
hashCode in interface PrincipalhashCode in class Objectpublic 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 | |||||||||