Package org.apereo.cas.authentication
Class MultifactorAuthenticationRequiredException
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.MultifactorAuthenticationRequiredException
- All Implemented Interfaces:
Serializable
public class MultifactorAuthenticationRequiredException
extends org.apereo.cas.authentication.AuthenticationException
- Since:
- 6.1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMultifactorAuthenticationRequiredException(org.apereo.cas.services.RegisteredService service, org.apereo.cas.authentication.principal.Principal principal) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()org.apereo.cas.authentication.principal.Principalorg.apereo.cas.services.RegisteredServiceMethods inherited from class org.apereo.cas.authentication.AuthenticationException
getHandlerErrors, getHandlerSuccessesMethods inherited from class org.apereo.cas.authentication.RootCasException
getArgs, withCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MultifactorAuthenticationRequiredException
public MultifactorAuthenticationRequiredException() -
MultifactorAuthenticationRequiredException
public MultifactorAuthenticationRequiredException(org.apereo.cas.services.RegisteredService service, org.apereo.cas.authentication.principal.Principal principal)
-
-
Method Details
-
getCode
- Overrides:
getCodein classorg.apereo.cas.authentication.RootCasException
-
getService
public org.apereo.cas.services.RegisteredService getService() -
getPrincipal
public org.apereo.cas.authentication.principal.Principal getPrincipal()
-