PHP Class AppserverIo\Appserver\ServletEngine\Authenticator\BasicAuthenticator

Author: Johann Zelger ([email protected])
Author: Bernhard Wick ([email protected])
Author: Tim Wagner ([email protected])
Inheritance: extends AbstractAuthenticator
Afficher le fichier Open project: appserver-io/appserver

Protected Properties

Свойство Type Description
$password string The password to authenticate the user with.

Méthodes publiques

Méthode 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

Method Details

authenticate() public méthode

Return TRUE if any specified constraint has been satisfied, or FALSE if we have created a response challenge already.
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
Résultat boolean TRUE if authentication has already been processed on a request before, else FALSE

getAuthenticateHeader() public méthode

Returns the authentication header for response to set
public getAuthenticateHeader ( ) : string
Résultat string

getPassword() public méthode

Returns the parsed password
public getPassword ( ) : string
Résultat string

Property Details

$password protected_oe property

The password to authenticate the user with.
protected string $password
Résultat string