Class ReauthenticationRequiredException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.core.AuthenticationException
org.springframework.security.oauth2.core.OAuth2AuthenticationException
com.irurueta.authserver.authorization.api.web.mfa.ReauthenticationRequiredException
All Implemented Interfaces:
Serializable

public class ReauthenticationRequiredException extends org.springframework.security.oauth2.core.OAuth2AuthenticationException
Raised when an authorization request asks (through max_age) for a more recent authentication than the session has. It is not a failure to report to the client: SecondFactorErrorResponseHandler sends the user through a new sign-in, after ReauthenticationEntryPoint discards the stale authentication.
See Also:
  • Field Details

  • Constructor Details

    • ReauthenticationRequiredException

      public ReauthenticationRequiredException()
      Creates the exception.