Свойство | Тип | Описание | |
---|---|---|---|
$password | string | The password to authenticate the user with. |
Метод | Описание | |
---|---|---|
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 |
Результат | boolean | TRUE if authentication has already been processed on a request before, else FALSE |
public getAuthenticateHeader ( ) : string | ||
Результат | string |
public getPassword ( ) : string | ||
Результат | string |
protected string $password | ||
Результат | string |