AppserverIo\Appserver\ServletEngine\Security\StandardAuthenticationManager::addAuthenticator PHP Method

addAuthenticator() public method

Register's the passed authenticator.
public addAuthenticator ( AppserverIo\Appserver\ServletEngine\Authenticator\AuthenticatorInterface $authenticator ) : void
$authenticator AppserverIo\Appserver\ServletEngine\Authenticator\AuthenticatorInterface The authenticator to add
return void
    public function addAuthenticator(AuthenticatorInterface $authenticator)
    {
        $this->authenticators->set($authenticator->getSerial(), $authenticator);
    }