Class UnresolvedPrincipalException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apereo.cas.authentication.RootCasException
org.apereo.cas.authentication.AuthenticationException
org.apereo.cas.authentication.PrincipalException
org.apereo.cas.authentication.exceptions.UnresolvedPrincipalException
All Implemented Interfaces:
Serializable

public class UnresolvedPrincipalException extends org.apereo.cas.authentication.PrincipalException
Describes an error condition where a principal could not be resolved.
Since:
4.0.0
See Also:
  • Constructor Details

    • 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()
    • UnresolvedPrincipalException

      public UnresolvedPrincipalException(Exception e)
    • UnresolvedPrincipalException

      public UnresolvedPrincipalException(Map<String,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, 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.