Package swiss.trustbroker.oidc
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 Summary
ConstructorsConstructorDescriptionCustomUserInfoResponseHandler(RelyingPartyDefinitions relyingPartyDefinitions, TrustBrokerProperties trustBrokerProperties, tools.jackson.databind.ObjectMapper objectMapper, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> jwkSource, OidcEncryptionKeystoreService encryptionKeystoreService) -
Method Summary
Modifier and TypeMethodDescriptionvoidonAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess
-
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:
onAuthenticationSuccessin interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler
-