Property | Type | Description | |
---|---|---|---|
$password | string | The password to authenticate the user with. |
Method | Description | |
---|---|---|
authenticate ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest, AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $servletResponse ) : boolean | Try to authenticate the user making this request, based on the specified login configuration. | |
getAuthenticateHeader ( ) : string | Returns the authentication header for response to set | |
getPassword ( ) : string | Returns the parsed password |
public authenticate ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest, AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $servletResponse ) : boolean | ||
$servletRequest | AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface | The servlet request instance |
$servletResponse | AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface | The servlet response instance |
return | boolean | TRUE if authentication has already been processed on a request before, else FALSE |
public getAuthenticateHeader ( ) : string | ||
return | string |
public getPassword ( ) : string | ||
return | string |
protected string $password | ||
return | string |