PHP Класс AppserverIo\Appserver\ServletEngine\Security\DependencyInjection\DeploymentDescriptorParser

Автор: Tim Wagner ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$authenticationContext AppserverIo\Psr\Servlet\ServletContextInterface The servlet context we want to parse the deployment descriptor for.

Открытые методы

Метод Описание
getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface Returns the application context instance the servlet context is bound to.
getAuthenticationContext ( ) : AppserverIo\Psr\Servlet\ServletContextInterface Returns the servlet context instance.
injectAuthenticationContext ( AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface $authenticationContext ) : void Inject the authentication context instance.
mapAuthenticator ( string $shortname ) : string Returns the authenticator class name for the passed shortname.
parse ( ) : void Parses the servlet context's deployment descriptor file for servlets that has to be registered in the object manager.

Описание методов

getApplication() публичный Метод

Returns the application context instance the servlet context is bound to.
public getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface
Результат AppserverIo\Psr\Application\ApplicationInterface The application context instance

getAuthenticationContext() публичный Метод

Returns the servlet context instance.
public getAuthenticationContext ( ) : AppserverIo\Psr\Servlet\ServletContextInterface
Результат AppserverIo\Psr\Servlet\ServletContextInterface The servlet context instance

injectAuthenticationContext() публичный Метод

Inject the authentication context instance.
public injectAuthenticationContext ( AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface $authenticationContext ) : void
$authenticationContext AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface The authentication context instance
Результат void

mapAuthenticator() публичный Метод

Returns the authenticator class name for the passed shortname.
public mapAuthenticator ( string $shortname ) : string
$shortname string The shortname of the requested authenticator class name
Результат string The requested authenticator class name

parse() публичный Метод

Parses the servlet context's deployment descriptor file for servlets that has to be registered in the object manager.
public parse ( ) : void
Результат void

Описание свойств

$authenticationContext защищенное свойство

The servlet context we want to parse the deployment descriptor for.
protected ServletContextInterface,AppserverIo\Psr\Servlet $authenticationContext
Результат AppserverIo\Psr\Servlet\ServletContextInterface