FirewallConfig
in package
Tags
Table of Contents
- $accessDeniedHandler : mixed
- $accessDeniedUrl : mixed
- $context : mixed
- $entryPoint : mixed
- $listeners : mixed
- $name : mixed
- $provider : mixed
- $requestMatcher : mixed
- $securityEnabled : mixed
- $stateless : mixed
- $switchUser : mixed
- $userChecker : mixed
- __construct() : mixed
- allowsAnonymous() : bool
- getAccessDeniedHandler() : string|null
- getAccessDeniedUrl() : string|null
- getContext() : string|null
- getEntryPoint() : string|null
- getListeners() : array<string|int, mixed>
- getName() : string
- getProvider() : string|null
- getRequestMatcher() : string|null
- getSwitchUser() : array<string|int, mixed>|null
- getUserChecker() : string
- isSecurityEnabled() : bool
- isStateless() : bool
Properties
$accessDeniedHandler
private
mixed
$accessDeniedHandler
$accessDeniedUrl
private
mixed
$accessDeniedUrl
$context
private
mixed
$context
$entryPoint
private
mixed
$entryPoint
$listeners
private
mixed
$listeners
$name
private
mixed
$name
$provider
private
mixed
$provider
$requestMatcher
private
mixed
$requestMatcher
$securityEnabled
private
mixed
$securityEnabled
$stateless
private
mixed
$stateless
$switchUser
private
mixed
$switchUser
$userChecker
private
mixed
$userChecker
Methods
__construct()
public
__construct(string $name, string $userChecker[, string $requestMatcher = null ][, bool $securityEnabled = true ][, bool $stateless = false ][, string $provider = null ][, string $context = null ][, string $entryPoint = null ][, string $accessDeniedHandler = null ][, string $accessDeniedUrl = null ][, array<string|int, mixed> $listeners = [] ][, mixed $switchUser = null ]) : mixed
Parameters
- $name : string
- $userChecker : string
- $requestMatcher : string = null
- $securityEnabled : bool = true
- $stateless : bool = false
- $provider : string = null
- $context : string = null
- $entryPoint : string = null
- $accessDeniedHandler : string = null
- $accessDeniedUrl : string = null
- $listeners : array<string|int, mixed> = []
- $switchUser : mixed = null
Return values
mixed —allowsAnonymous()
public
allowsAnonymous() : bool
Return values
bool —getAccessDeniedHandler()
public
getAccessDeniedHandler() : string|null
Return values
string|null —getAccessDeniedUrl()
public
getAccessDeniedUrl() : string|null
Return values
string|null —getContext()
public
getContext() : string|null
Return values
string|null —The context key (will be null if the firewall is stateless)
getEntryPoint()
public
getEntryPoint() : string|null
Return values
string|null —getListeners()
public
getListeners() : array<string|int, mixed>
Return values
array<string|int, mixed> —getName()
public
getName() : string
Return values
string —getProvider()
public
getProvider() : string|null
Return values
string|null —getRequestMatcher()
public
getRequestMatcher() : string|null
Return values
string|null —The request matcher service id or null if neither the request matcher, pattern or host options were provided
getSwitchUser()
public
getSwitchUser() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null —getUserChecker()
public
getUserChecker() : string
Return values
string —isSecurityEnabled()
public
isSecurityEnabled() : bool
Return values
bool —isStateless()
public
isStateless() : bool