Class SpringAddonsOauth2ServerAuthenticationFailureHandler

java.lang.Object
com.c4_soft.springaddons.security.oidc.starter.reactive.client.SpringAddonsOauth2ServerAuthenticationFailureHandler
All Implemented Interfaces:
org.springframework.security.web.server.authentication.ServerAuthenticationFailureHandler

public class SpringAddonsOauth2ServerAuthenticationFailureHandler extends Object implements org.springframework.security.web.server.authentication.ServerAuthenticationFailureHandler
An authentication failure handler reading post-login failure URI in session (set by the frontend with a header or request param when initiating the authorization_code flow) and using a SpringAddonsOauth2ServerRedirectStrategy
Author:
Jerome Wacongne ch4mp@c4-soft.com
See Also:
  • Constructor Details

    • SpringAddonsOauth2ServerAuthenticationFailureHandler

      public SpringAddonsOauth2ServerAuthenticationFailureHandler(SpringAddonsOidcProperties addonsProperties)
  • Method Details

    • onAuthenticationFailure

      public reactor.core.publisher.Mono<Void> onAuthenticationFailure(org.springframework.security.web.server.WebFilterExchange webFilterExchange, org.springframework.security.core.AuthenticationException exception)
      Specified by:
      onAuthenticationFailure in interface org.springframework.security.web.server.authentication.ServerAuthenticationFailureHandler