Package swiss.trustbroker.oidc
Class CustomAuthenticationEntryPoint
java.lang.Object
swiss.trustbroker.oidc.CustomAuthenticationEntryPoint
- All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint
public class CustomAuthenticationEntryPoint
extends Object
implements org.springframework.security.web.AuthenticationEntryPoint
-
Constructor Summary
ConstructorsConstructorDescriptionCustomAuthenticationEntryPoint(RelyingPartyDefinitions relyingPartyDefinitions, TrustBrokerProperties trustBrokerProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoidcommence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
-
Constructor Details
-
CustomAuthenticationEntryPoint
public CustomAuthenticationEntryPoint(RelyingPartyDefinitions relyingPartyDefinitions, TrustBrokerProperties trustBrokerProperties)
-
-
Method Details
-
commence
public void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException, jakarta.servlet.ServletException - Specified by:
commencein interfaceorg.springframework.security.web.AuthenticationEntryPoint- Throws:
IOExceptionjakarta.servlet.ServletException
-