class FirewallMap implements FirewallMapInterface

FirewallMap allows configuration of different firewalls for specific parts of the website.

Methods

add(RequestMatcherInterface $requestMatcher = null, array $listeners = array(), ExceptionListener $exceptionListener = null, LogoutListener $logoutListener = null)

No description

array
getListeners(Request $request)

Returns the authentication listeners, and the exception listener to use for the given request.

Details

add(RequestMatcherInterface $requestMatcher = null, array $listeners = array(), ExceptionListener $exceptionListener = null, LogoutListener $logoutListener = null)

Parameters

RequestMatcherInterface $requestMatcher
array $listeners
ExceptionListener $exceptionListener
LogoutListener $logoutListener

array getListeners(Request $request)

Returns the authentication listeners, and the exception listener to use for the given request.

If there are no authentication listeners, the first inner array must be empty.

If there is no exception listener, the second element of the outer array must be null.

If there is no logout listener, the third element of the outer array must be null.

Parameters

Request $request

Return Value

array of the format array(array(AuthenticationListener), ExceptionListener, LogoutListener)