AppserverIo\Appserver\ServletEngine\Security\StandardAuthenticationManager::addAuthenticator PHP Méthode

addAuthenticator() public méthode

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