PHP Class AppserverIo\Appserver\ServletEngine\Security\AuthenticationValve

Inheritance: implements AppserverIo\Appserver\ServletEngine\ValveInterface
Datei anzeigen Open project: appserver-io/appserver

Public Methods

Method Description
invoke ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest, AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $servletResponse ) : void Tries to authenticate the request and throw an exception if authentication is required,

Method Details

invoke() public method

Tries to authenticate the request and throw an exception if authentication is required,
public invoke ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest, AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $servletResponse ) : void
$servletRequest AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface The request instance
$servletResponse AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface The response instance
return void