Class AuthenticationRedirectException

  • All Implemented Interfaces:
    AuthenticationException, Serializable

    public class AuthenticationRedirectException
    extends RuntimeException
    implements AuthenticationException
    Exception indicating that a redirect is required for the authentication flow to complete. For example, it can be used during an OpenId Connect authorization code flow to redirect the user to the original request URI which was used before the authorization code flow has started.
    See Also:
    Serialized Form
    • Constructor Detail

      • AuthenticationRedirectException

        public AuthenticationRedirectException​(String redirectUri)
      • AuthenticationRedirectException

        public AuthenticationRedirectException​(int code,
                                               String redirectUri)
    • Method Detail

      • getCode

        public int getCode()
      • getRedirectUri

        public String getRedirectUri()