Class MixedPrincipalException
- 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.MixedPrincipalException
-
- All Implemented Interfaces:
java.io.Serializable
public class MixedPrincipalException extends org.apereo.cas.authentication.PrincipalExceptionDescribes 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.
-
-
-
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.
-
-