class FirewallEntry (View source)

Class FirewallEntry

Methods

__construct(Container $container, string $firewallBasePattern, string $firewallBasePath, string $firewallLogin, string $firewallLogout, string $firewallLoginCheck, string|array $firewallBaseRole = 'ROLE_USER', string $authenticationSuccessHandlerClass = 'RZ\\Roadiz\\Core\\Authentification\\AuthenticationSuccessHandler', string $authenticationFailureHandlerClass = 'RZ\\Roadiz\\Core\\Authentification\\AuthenticationFailureHandler')

FirewallEntry constructor.

$this
$this
withSwitchUserListener()

No description

$this
withReferer()

No description

RequestMatcher
getRequestMatcher()

No description

AbstractAuthenticationListener[]
getListeners()

No description

UsernamePasswordFormAuthenticationListener
getAuthentificationListener()

No description

ExceptionListener
getExceptionListener(bool $useForward = false)

No description

LogoutListener
getLogoutListener()

No description

Details

__construct(Container $container, string $firewallBasePattern, string $firewallBasePath, string $firewallLogin, string $firewallLogout, string $firewallLoginCheck, string|array $firewallBaseRole = 'ROLE_USER', string $authenticationSuccessHandlerClass = 'RZ\\Roadiz\\Core\\Authentification\\AuthenticationSuccessHandler', string $authenticationFailureHandlerClass = 'RZ\\Roadiz\\Core\\Authentification\\AuthenticationFailureHandler')

FirewallEntry constructor.

Parameters

Container $container
string $firewallBasePattern
string $firewallBasePath
string $firewallLogin
string $firewallLogout
string $firewallLoginCheck
string|array $firewallBaseRole
string $authenticationSuccessHandlerClass
string $authenticationFailureHandlerClass

$this withAnonymousAuthenticationListener()

Return Value

$this

$this withSwitchUserListener()

Return Value

$this

$this withReferer()

Return Value

$this

RequestMatcher getRequestMatcher()

Return Value

RequestMatcher

AbstractAuthenticationListener[] getListeners()

Return Value

AbstractAuthenticationListener[]

protected UsernamePasswordFormAuthenticationListener getAuthentificationListener()

Return Value

UsernamePasswordFormAuthenticationListener

ExceptionListener getExceptionListener(bool $useForward = false)

Parameters

bool $useForward Use true to forward request instead of redirecting. Be careful, Token will be set to null in sub-request!

Return Value

ExceptionListener

protected LogoutListener getLogoutListener()

Return Value

LogoutListener