public class MixedPrincipalException
extends org.apereo.cas.authentication.PrincipalException
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
org.apereo.cas.authentication.principal.Principal |
getFirst()
Gets the first resolved principal.
|
org.apereo.cas.authentication.principal.Principal |
getSecond()
Gets the second resolved principal.
|
getHandlerErrors, getHandlerSuccessespublic MixedPrincipalException(org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.authentication.principal.Principal a,
org.apereo.cas.authentication.principal.Principal b)
authentication - Authentication event.a - First resolved principal.b - Second resolved principal.public org.apereo.cas.authentication.principal.Principal getFirst()
public org.apereo.cas.authentication.principal.Principal getSecond()