Class SpringAddonsOauth2ServerAuthenticationSuccessHandler

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

public class SpringAddonsOauth2ServerAuthenticationSuccessHandler extends Object implements org.springframework.security.web.server.authentication.ServerAuthenticationSuccessHandler
An authentication success handler reading post-login success 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

    • SpringAddonsOauth2ServerAuthenticationSuccessHandler

      public SpringAddonsOauth2ServerAuthenticationSuccessHandler(SpringAddonsOidcProperties addonsProperties)
  • Method Details

    • onAuthenticationSuccess

      public reactor.core.publisher.Mono<Void> onAuthenticationSuccess(org.springframework.security.web.server.WebFilterExchange webFilterExchange, org.springframework.security.core.Authentication authentication)
      Specified by:
      onAuthenticationSuccess in interface org.springframework.security.web.server.authentication.ServerAuthenticationSuccessHandler