|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freshcookies.security.policy.UnresolvedPrincipal
public final class UnresolvedPrincipal
Represents a Principal whose class cannot be resolved by the classloader.
Constructor Summary | |
---|---|
UnresolvedPrincipal(java.lang.String clazz,
java.lang.String name)
Constructs a new UnresolvedPrincipal. |
|
UnresolvedPrincipal(java.lang.String clazz,
java.lang.String name,
java.lang.Exception e)
Constructs a new UnresolvedPrincipal. |
Method Summary | |
---|---|
java.lang.Exception |
getException()
Returns the Exception used to instantiate this UnresolvedPrincipal. |
java.lang.String |
getName()
Returns the name of the principal. |
java.lang.String |
getPrincipalClass()
Returns the class of the unresolved Principal as a String. |
java.lang.String |
toString()
Returns a string representation of this Principal. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.Principal |
---|
equals, hashCode |
Constructor Detail |
---|
public UnresolvedPrincipal(java.lang.String clazz, java.lang.String name)
clazz
- the name of the unresolved classname
- the name of the Principalpublic UnresolvedPrincipal(java.lang.String clazz, java.lang.String name, java.lang.Exception e)
clazz
- the name of the unresolved classname
- the name of the Principale
- the Exception indicating the reason why the Principal could not be resolvedMethod Detail |
---|
public final java.lang.Exception getException()
null
if not constructed with one.public final java.lang.String getPrincipalClass()
public final java.lang.String getName()
getName
in interface java.security.Principal
Principal.getName()
public final java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |