Class CNAuthenticationEntryPoint

  • All Implemented Interfaces:
    org.springframework.security.web.AuthenticationEntryPoint

    public class CNAuthenticationEntryPoint
    extends Object
    implements org.springframework.security.web.AuthenticationEntryPoint
    • Constructor Detail

      • CNAuthenticationEntryPoint

        public CNAuthenticationEntryPoint()
    • Method Detail

      • commence

        public void commence​(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             org.springframework.security.core.AuthenticationException authException)
                      throws IOException,
                             javax.servlet.ServletException
        Override the parent's commence so that the returned status is not 403.
        Specified by:
        commence in interface org.springframework.security.web.AuthenticationEntryPoint
        Throws:
        IOException
        javax.servlet.ServletException