Class HttpAuthenticationManagerImpl

    • Method Detail

      • shouldNotTryToReauthenticate

        public boolean shouldNotTryToReauthenticate​(@NotNull
                                                    javax.servlet.http.HttpServletRequest request)
        Description copied from interface: HttpAuthenticationManager
        TW-35022 Skip authentication of request if there's no session or no user in session. Generally we don't reauthenticate ajax and websocket upgrade requests. Some authentication schemes however have specific behaviour and may allow to try to reauthenticate ajax requests.
        Specified by:
        shouldNotTryToReauthenticate in interface HttpAuthenticationManager
        Parameters:
        request - HttpServletRequest
        Returns:
        true when server should respond with unauthorized without trying to reauthenticate