Property | Type | Description | |
---|---|---|---|
$authenticationManager | AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface | The authentication manager instance. | |
$configData | AppserverIo\Appserver\Core\Api\Node\LoginConfigNodeInterface | Holds the configuration data given for authentication type. | |
$defaultAuthenticator | AppserverIo\Lang\Boolean | Mark's the authenticator as the default one. | |
$serial | string | The UUID of the authenticator. | |
$username | string | The name of the user to authenticate. |
Method | Description | |
---|---|---|
__construct ( AppserverIo\Appserver\Core\Api\Node\LoginConfigNodeInterface $configData, AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface $authenticationManager, boolean $defaultAuthenticator = null ) | Constructs the authentication type. | |
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. | |
getRealmName ( ) : string | Return's the realm name. | |
getSerial ( ) : string | Return's the authenticator's UUID. | |
getUsername ( ) : string | null | Returns the parsed username. | |
isDefaultAuthenticator ( ) : boolean | Query whether or not this is the default authenticator. | |
setDefaultAuthenticator ( ) : void | Mark's the authenticator as the default one. |
public __construct ( AppserverIo\Appserver\Core\Api\Node\LoginConfigNodeInterface $configData, AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface $authenticationManager, boolean $defaultAuthenticator = null ) | ||
$configData | AppserverIo\Appserver\Core\Api\Node\LoginConfigNodeInterface | The configuration data for auth type instance |
$authenticationManager | AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface | The authentication manager instance |
$defaultAuthenticator | boolean | The flag for the default authenticator |
public getAuthType ( ) : string | ||
return | string |
public getAuthenticationManager ( ) : AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface | ||
return | AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface | The authentication manager instance |
public getConfigData ( ) : object | ||
return | object | The configuration data |
public getRealmName ( ) : string | ||
return | string | The realm name |
public getUsername ( ) : string | null | ||
return | string | null | The username |
public isDefaultAuthenticator ( ) : boolean | ||
return | boolean | TRUE if this is the default authenticator, else FALSE |
public setDefaultAuthenticator ( ) : void | ||
return | void |
protected AuthenticationManagerInterface,AppserverIo\Appserver\ServletEngine\Security $authenticationManager | ||
return | AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface |
protected LoginConfigNodeInterface,AppserverIo\Appserver\Core\Api\Node $configData | ||
return | AppserverIo\Appserver\Core\Api\Node\LoginConfigNodeInterface |
protected Boolean,AppserverIo\Lang $defaultAuthenticator | ||
return | AppserverIo\Lang\Boolean |
protected string $username | ||
return | string |