Метод | Описание | |
---|---|---|
authenticate ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest, AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $servletResponse ) : boolean | Try to authenticate against the configured adapter. | |
getAuthType ( ) : string | Returns the authentication type token. | |
getAuthenticationManager ( ) : AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface | Return's the authentication manager instance. | |
getConfigData ( ) : object | Returns the configuration data given for authentication type. | |
getPassword ( ) : string | null | Returns the password parsed from the request. | |
getUsername ( ) : string | null | Returns the username parsed from the request. | |
isDefaultAuthenticator ( ) : boolean | Query whether or not this is the default authenticator. | |
setDefaultAuthenticator ( ) : void | Mark's the authenticator as the default one. |
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 getAuthType ( ) : string | ||
Результат | string |
public getAuthenticationManager ( ) : AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface | ||
Результат | AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface | The authentication manager instance |
public getConfigData ( ) : object | ||
Результат | object | The configuration data |
public getPassword ( ) : string | null | ||
Результат | string | null | The password |
public getUsername ( ) : string | null | ||
Результат | string | null | The username |
public isDefaultAuthenticator ( ) : boolean | ||
Результат | boolean | TRUE if this is the default authenticator, else FALSE |
public setDefaultAuthenticator ( ) : void | ||
Результат | void |