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

addRealm() public method

Add's the passed realm the the authentication manager.
public addRealm ( AppserverIo\Appserver\ServletEngine\Security\RealmInterface $realm ) : void
$realm AppserverIo\Appserver\ServletEngine\Security\RealmInterface The realm to add
return void
    public function addRealm(RealmInterface $realm)
    {
        $this->realms->set($realm->getName(), $realm);
    }