[Security] added some finals, some visibility changes
This commit is contained in:
parent
843c449c73
commit
76573f1ab2
@ -107,7 +107,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
|
|||||||
*
|
*
|
||||||
* @param Event $event An Event instance
|
* @param Event $event An Event instance
|
||||||
*/
|
*/
|
||||||
public function handle(EventInterface $event)
|
public final function handle(EventInterface $event)
|
||||||
{
|
{
|
||||||
$request = $event->get('request');
|
$request = $event->get('request');
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ abstract class AbstractPreAuthenticatedListener implements ListenerInterface
|
|||||||
*
|
*
|
||||||
* @param EventInterface $event An EventInterface instance
|
* @param EventInterface $event An EventInterface instance
|
||||||
*/
|
*/
|
||||||
public function handle(EventInterface $event)
|
public final function handle(EventInterface $event)
|
||||||
{
|
{
|
||||||
$request = $event->get('request');
|
$request = $event->get('request');
|
||||||
|
|
||||||
|
@ -25,8 +25,8 @@ use Symfony\Component\Security\Core\Exception\BadCredentialsException;
|
|||||||
*/
|
*/
|
||||||
class X509AuthenticationListener extends AbstractPreAuthenticatedListener
|
class X509AuthenticationListener extends AbstractPreAuthenticatedListener
|
||||||
{
|
{
|
||||||
protected $userKey;
|
private $userKey;
|
||||||
protected $credentialKey;
|
private $credentialKey;
|
||||||
|
|
||||||
public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, $providerKey, $userKey = 'SSL_CLIENT_S_DN_Email', $credentialKey = 'SSL_CLIENT_S_DN', LoggerInterface $logger = null, EventDispatcherInterface $eventDispatcher = null)
|
public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, $providerKey, $userKey = 'SSL_CLIENT_S_DN_Email', $credentialKey = 'SSL_CLIENT_S_DN', LoggerInterface $logger = null, EventDispatcherInterface $eventDispatcher = null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user