Class AuthenticationSuccessHandlerSendingOkHttpStatusCode

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.AuthenticationSuccessHandler

    public class AuthenticationSuccessHandlerSendingOkHttpStatusCode
    extends Object
    implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
    Sends the OK status code upon successful authentication.
    See Also:
    JsonUsernamePasswordAuthenticationFilter
    • Constructor Detail

      • AuthenticationSuccessHandlerSendingOkHttpStatusCode

        public AuthenticationSuccessHandlerSendingOkHttpStatusCode()
    • Method Detail

      • onAuthenticationSuccess

        public void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            org.springframework.security.core.Authentication authentication)
                                     throws IOException,
                                            javax.servlet.ServletException
        Specified by:
        onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
        Throws:
        IOException
        javax.servlet.ServletException