Class WebSecurityConfigurer.CustomAuthenticationEntryPoint
java.lang.Object
es.kukenan.smartfi.springboot.config.security.WebSecurityConfigurer.CustomAuthenticationEntryPoint
- All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint
- Enclosing class:
WebSecurityConfigurer
private class WebSecurityConfigurer.CustomAuthenticationEntryPoint
extends Object
implements org.springframework.security.web.AuthenticationEntryPoint
Authentication error handler to configure how authentication errors are managed (a response is created by the
RestExceptionHandler.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcommence(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, org.springframework.security.core.AuthenticationException e)
-
Constructor Details
-
CustomAuthenticationEntryPoint
private CustomAuthenticationEntryPoint()
-
-
Method Details
-
commence
public void commence(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, org.springframework.security.core.AuthenticationException e) throws IOException, javax.servlet.ServletException - Specified by:
commencein interfaceorg.springframework.security.web.AuthenticationEntryPoint- Throws:
IOExceptionjavax.servlet.ServletException
-