Class CustomAuthenticationEntryPoint
java.lang.Object
inha.git.common.exceptions.handler.CustomAuthenticationEntryPoint
- All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint
@Component
public class CustomAuthenticationEntryPoint
extends Object
implements org.springframework.security.web.AuthenticationEntryPoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
commence
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authenticationException)
-
Constructor Details
-
CustomAuthenticationEntryPoint
public CustomAuthenticationEntryPoint()
-
-
Method Details
-
commence
public void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authenticationException) throws IOException - Specified by:
commence
in interfaceorg.springframework.security.web.AuthenticationEntryPoint
- Throws:
IOException
-