Class MixedPrincipalException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MixedPrincipalException
    extends org.apereo.cas.authentication.PrincipalException
    Describes an error condition where non-identical principals have been resolved while authenticating multiple credentials.
    Since:
    4.0.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MixedPrincipalException​(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Principal a, org.apereo.cas.authentication.principal.Principal b)
      Creates a new instance from what would otherwise have been a successful authentication event and the two disparate principals resolved.
    • Method Summary

      • Methods inherited from class org.apereo.cas.authentication.AuthenticationException

        getHandlerErrors, getHandlerSuccesses
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class org.apereo.cas.authentication.PrincipalException

        getCode
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • Constructor Detail

      • MixedPrincipalException

        public MixedPrincipalException​(org.apereo.cas.authentication.Authentication authentication,
                                       org.apereo.cas.authentication.principal.Principal a,
                                       org.apereo.cas.authentication.principal.Principal b)
        Creates a new instance from what would otherwise have been a successful authentication event and the two disparate principals resolved.
        Parameters:
        authentication - Authentication event.
        a - First resolved principal.
        b - Second resolved principal.