Class CustomUserInfoResponseHandler

java.lang.Object
swiss.trustbroker.oidc.CustomUserInfoResponseHandler
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler

public class CustomUserInfoResponseHandler extends Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
  • Constructor Details

    • CustomUserInfoResponseHandler

      public CustomUserInfoResponseHandler(RelyingPartyDefinitions relyingPartyDefinitions, TrustBrokerProperties trustBrokerProperties, tools.jackson.databind.ObjectMapper objectMapper, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> jwkSource, OidcEncryptionKeystoreService encryptionKeystoreService)
  • Method Details

    • onAuthenticationSuccess

      public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
      Specified by:
      onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler