Свойство | Type | Description | |
---|---|---|---|
$authenticatorSerial | string | The authenticator serial. | |
$httpMethodOmissions | array | The array with the HTTP methods that has to be omissed from authentication. | |
$httpMethods | array | The array with the HTTP methods that has to be authenticated. | |
$roleNames | array | The array with the role names. | |
$urlPattern | string | The URL pattern. |
Méthode | Description | |
---|---|---|
__construct ( string $urlPattern, string $authenticatorSerial, array $roleNames = [], array $httpMethods = [], array $httpMethodOmissions = [] ) | Initialize the mapping with the passed values. | |
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. |
public __construct ( string $urlPattern, string $authenticatorSerial, array $roleNames = [], array $httpMethods = [], array $httpMethodOmissions = [] ) | ||
$urlPattern | string | The URL pattern |
$authenticatorSerial | string | The authenticator serial |
$roleNames | array | The array with the role names |
$httpMethods | array | The array with the HTTP methods that has to be authenticated |
$httpMethodOmissions | array | The array with the HTTP methods that has to be omissed from authentication |
public getAuthenticatorSerial ( ) : string | ||
Résultat | string | The authenticator serial |
public getHttpMethodOmissions ( ) : array | ||
Résultat | array | The HTTP methods |
public getHttpMethods ( ) : array | ||
Résultat | array | The HTTP methods |
public getRoleNames ( ) : array | ||
Résultat | array | The role names |
public getUrlPattern ( ) : string | ||
Résultat | string | The URL pattern |
protected string $authenticatorSerial | ||
Résultat | string |
protected array $httpMethodOmissions | ||
Résultat | array |
protected array $httpMethods | ||
Résultat | array |
protected array $roleNames | ||
Résultat | array |