FirewallConfig
class FirewallConfig
Methods
| | __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 $listeners = array(), $switchUser = null) | |
| string | getName() | |
| string|null | getRequestMatcher() | |
| bool | isSecurityEnabled() | |
| bool | allowsAnonymous() | |
| bool | isStateless() | |
| string|null | getProvider() | |
| string|null | getContext() | |
| string|null | getEntryPoint() | |
| string | getUserChecker() | |
| string|null | getAccessDeniedHandler() | |
| string|null | getAccessDeniedUrl() | |
| array | getListeners() | |
| array|null | getSwitchUser() | |
Details
__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 $listeners = array(), $switchUser = null)
Parameters
| string | $name | |
| string | $userChecker | |
| string | $requestMatcher | |
| bool | $securityEnabled | |
| bool | $stateless | |
| string | $provider | |
| string | $context | |
| string | $entryPoint | |
| string | $accessDeniedHandler | |
| string | $accessDeniedUrl | |
| array | $listeners | |
| $switchUser | |
string
getName()
Return Value
string|null
getRequestMatcher()
Return Value
| string|null | The request matcher service id or null if neither the request matcher, pattern or host options were provided |
bool
isSecurityEnabled()
Return Value
bool
allowsAnonymous()
Return Value
bool
isStateless()
Return Value
string|null
getProvider()
Return Value
string|null
getContext()
Return Value
| string|null | The context key (will be null if the firewall is stateless) |
string|null
getEntryPoint()
Return Value
string
getUserChecker()
Return Value
string|null
getAccessDeniedHandler()
Return Value
string|null
getAccessDeniedUrl()
Return Value
array
getListeners()
Return Value
array|null
getSwitchUser()
Return Value