Class UnresolvedPrincipalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apereo.cas.authentication.AuthenticationException
-
- org.apereo.cas.authentication.PrincipalException
-
- org.apereo.cas.authentication.exceptions.UnresolvedPrincipalException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnresolvedPrincipalException extends org.apereo.cas.authentication.PrincipalExceptionDescribes an error condition where a principal could not be resolved.- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnresolvedPrincipalException()Instantiates a new Unresolved principal exception.UnresolvedPrincipalException(java.lang.Exception e)Instantiates a new Unresolved principal exception.UnresolvedPrincipalException(java.util.Map<java.lang.String,java.lang.Throwable> handlerErrors)Instantiates a new Unresolved principal exception.UnresolvedPrincipalException(org.apereo.cas.authentication.Authentication authentication)Creates a new instance from an authentication event that was successful prior to principal resolution.UnresolvedPrincipalException(org.apereo.cas.authentication.Authentication authentication, java.lang.Exception cause)Creates a new instance from an authentication event that was successful prior to principal resolution.
-
-
-
Constructor Detail
-
UnresolvedPrincipalException
public UnresolvedPrincipalException(org.apereo.cas.authentication.Authentication authentication)
Creates a new instance from an authentication event that was successful prior to principal resolution.- Parameters:
authentication- Authentication event.
-
UnresolvedPrincipalException
public UnresolvedPrincipalException()
Instantiates a new Unresolved principal exception.
-
UnresolvedPrincipalException
public UnresolvedPrincipalException(java.lang.Exception e)
Instantiates a new Unresolved principal exception.- Parameters:
e- the e
-
UnresolvedPrincipalException
public UnresolvedPrincipalException(java.util.Map<java.lang.String,java.lang.Throwable> handlerErrors)
Instantiates a new Unresolved principal exception. Successes are tracked as an empty map.- Parameters:
handlerErrors- the handler errors
-
UnresolvedPrincipalException
public UnresolvedPrincipalException(org.apereo.cas.authentication.Authentication authentication, java.lang.Exception cause)Creates a new instance from an authentication event that was successful prior to principal resolution. This form should be used when a resolver exception prevented principal resolution.- Parameters:
authentication- Authentication event.cause- Exception that prevented principal resolution.
-
-