Property | 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. |
Method | 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 | ||
return | string | The authenticator serial |
public getHttpMethodOmissions ( ) : array | ||
return | array | The HTTP methods |
public getHttpMethods ( ) : array | ||
return | array | The HTTP methods |
public getRoleNames ( ) : array | ||
return | array | The role names |
public getUrlPattern ( ) : string | ||
return | string | The URL pattern |
protected string $authenticatorSerial | ||
return | string |
protected array $httpMethodOmissions | ||
return | array |
protected array $httpMethods | ||
return | array |
protected array $roleNames | ||
return | array |