Class FlowableTokenAuthenticationFilter

    • Constructor Detail

      • FlowableTokenAuthenticationFilter

        public FlowableTokenAuthenticationFilter​(AuthenticationManager authenticationManager)
    • Method Detail

      • doFilterInternal

        protected void doFilterInternal​(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        javax.servlet.FilterChain chain)
                                 throws javax.servlet.ServletException,
                                        IOException
        Specified by:
        doFilterInternal in class OncePerRequestFilter
        Throws:
        javax.servlet.ServletException
        IOException
      • successfulAuthentication

        protected void successfulAuthentication​(javax.servlet.http.HttpServletRequest request,
                                                javax.servlet.http.HttpServletResponse response,
                                                Authentication authResult)
                                         throws IOException,
                                                javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • unsuccessfulAuthentication

        protected void unsuccessfulAuthentication​(javax.servlet.http.HttpServletRequest request,
                                                  javax.servlet.http.HttpServletResponse response,
                                                  AuthenticationException failed)
                                           throws IOException,
                                                  javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • setTokenRequestParameter

        public void setTokenRequestParameter​(String tokenRequestParameter)
      • setAuthenticationDetailsSource

        public void setAuthenticationDetailsSource​(AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,​?> authenticationDetailsSource)
      • setAuthenticationFailureHandler

        public void setAuthenticationFailureHandler​(AuthenticationFailureHandler authenticationFailureHandler)