public function authenticate(HttpServletResponseInterface $servletResponse)
    {

        // load the authentication manager and try to authenticate this request
        /** @var \AppserverIo\Psr\Auth\AuthenticationManagerInterface $authenticationManager */
        if ($authenticationManager = $this->getAuthenticationManager()) {
            return $authenticationManager->handleRequest($this, $servletResponse);
        }

        // also return TRUE if we can't find an authentication manager
        return true;
    }
public function authenticate(HttpServletResponseInterface $servletResponse)
    {

        // load the authentication manager and try to authenticate this request
        /** @var \AppserverIo\Psr\Auth\AuthenticationManagerInterface $authenticationManager */
        if ($authenticationManager = $this->getAuthenticationManager()) {
            return $authenticationManager->handleRequest($this, $servletResponse);
        }

        // also return TRUE if we can't find an authentication manager
        return true;
    }
public function authenticate ( HttpServletResponseInterface $ servletResponse ) { // load the authentication manager and try to authenticate this request /** @var \AppserverIo\Psr\Auth\AuthenticationManagerInterface $authenticationManager */ if ( $ authenticationManager = $ this -> getAuthenticationManager ( ) ) { return $ authenticationManager -> handleRequest ( $ this , $ servletResponse ) ; } // also return TRUE if we can't find an authentication manager return true ; }
Use the container login mechanism configured for the servlet context to authenticate the user making this
request. This method may modify and commit the passed servlet response.

@param \AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $servletResponse The servlet response

@return boolean TRUE when non-null values were or have been established as the values returned by getRemoteUser, else FALSE
Use the container login mechanism configured for the servlet context to authenticate the user making this request . This method may modify and commit the passed servlet response .