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 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:
      commence in interface org.springframework.security.web.AuthenticationEntryPoint
      Throws:
      IOException
      javax.servlet.ServletException