PHP Интерфейс AppserverIo\Appserver\ServletEngine\Security\MappingInterface

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

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

Метод Описание
getAuthenticatorSerial ( ) : string Return's the authenticator serial.
getHttpMethodOmissions ( ) : array Return's the HTTP methods that has to b omissed from authentication
getHttpMethods ( ) : array Return's the HTTP methods that has to be authenticated.
getRoleNames ( ) : array Return's the role names.
getUrlPattern ( ) : string Return's the URL pattern.
match ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest ) : boolean Return's TRUE if the passed request matches the mappings URL patter.

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

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

Return's the authenticator serial.
public getAuthenticatorSerial ( ) : string
Результат string The authenticator serial

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

Return's the HTTP methods that has to b omissed from authentication
public getHttpMethodOmissions ( ) : array
Результат array The HTTP methods

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

Return's the HTTP methods that has to be authenticated.
public getHttpMethods ( ) : array
Результат array The HTTP methods

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

Return's the role names.
public getRoleNames ( ) : array
Результат array The role names

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

Return's the URL pattern.
public getUrlPattern ( ) : string
Результат string The URL pattern

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

Return's TRUE if the passed request matches the mappings URL patter.
public match ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest ) : boolean
$servletRequest AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface The request to match
Результат boolean TRUE if the request matches, else FALSE