|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ecyrd.jspwiki.auth.acl.UnresolvedPrincipal
public final class UnresolvedPrincipal
Represents a Principal, typically read from an ACL, that cannot
be resolved based on the current state of the user database, group
manager, and built-in role definitions.
Creating a principal marked "unresolved" allows
delayed resolution, which enables principals to be resolved
lazily during a later access control check. Conceptuallly,
UnresolvedPrincipal performs a function similar to
UnresolvedPermission.
| Constructor Summary | |
|---|---|
UnresolvedPrincipal(String name)
Constructs a new UnresolvedPrincipal instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
An unresolved principal is equal to another unresolved principal if their names match. |
String |
getName()
Returns the name of the principal. |
int |
hashCode()
The hashCode of this object is equal to the hash code of its name. |
String |
toString()
Returns a String representation of the UnresolvedPrincipal. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnresolvedPrincipal(String name)
name - the name of the Principal| Method Detail |
|---|
public final String getName()
getName in interface PrincipalPrincipal.getName()public final String toString()
toString in interface PrincipaltoString in class Objectpublic final boolean equals(Object obj)
equals in interface Principalequals in class Objectobj - the object to compare to this one
Object.equals(java.lang.Object)public final int hashCode()
hashCode in interface PrincipalhashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||