FirewallConfig

class FirewallConfig

Methods

__construct(string $name, string $userChecker, string|null $requestMatcher = null, bool $securityEnabled = true, bool $stateless = false, string|null $provider = null, string|null $context = null, string|null $entryPoint = null, string|null $accessDeniedHandler = null, string|null $accessDeniedUrl = null, string[] $listeners = array())
getName()
string|null getRequestMatcher()
isSecurityEnabled()
allowsAnonymous()
isStateless()
string|null getProvider()
string|null getContext()
string|null getEntryPoint()
string getUserChecker()
string|null getAccessDeniedHandler()
string|null getAccessDeniedUrl()
string[] getListeners()

Details

__construct(string $name, string $userChecker, string|null $requestMatcher = null, bool $securityEnabled = true, bool $stateless = false, string|null $provider = null, string|null $context = null, string|null $entryPoint = null, string|null $accessDeniedHandler = null, string|null $accessDeniedUrl = null, string[] $listeners = array())

Parameters

string $name
string $userChecker
string|null $requestMatcher
bool $securityEnabled
bool $stateless
string|null $provider
string|null $context
string|null $entryPoint
string|null $accessDeniedHandler
string|null $accessDeniedUrl
string[] $listeners

getName()

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

isSecurityEnabled()

allowsAnonymous()

isStateless()

string|null getProvider()

Return Value

string|null The provider service id

string|null getContext()

Return Value

string|null The context key (will be null if the firewall is stateless)

string|null getEntryPoint()

Return Value

string|null The entry_point service id if configured, null otherwise

string getUserChecker()

Return Value

string The user_checker service id

string|null getAccessDeniedHandler()

Return Value

string|null The accessdeniedhandler service id if configured, null otherwise

string|null getAccessDeniedUrl()

Return Value

string|null The accessdeniedhandler URL if configured, null otherwise

string[] getListeners()

Return Value

string[] An array of listener keys

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Bundle/SecurityBundle/Security/FirewallConfig.html