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

addMapping() public method

Register's a new URL pattern to authentication type mapping.
public addMapping ( AppserverIo\Appserver\ServletEngine\Security\MappingInterface $mapping ) : void
$mapping AppserverIo\Appserver\ServletEngine\Security\MappingInterface The URL pattern to authenticator mapping
return void
    public function addMapping(MappingInterface $mapping)
    {
        $this->mappings->set($mapping->getUrlPattern(), $mapping);
    }