$authToken = $this->authenticationManager->authenticate($token);
$this->securityContext->setToken($authToken);
+
+ return;
} catch (AuthenticationException $failed) {
$failedMessage = 'WSSE Login failed for '.$token->getUsername().'. Why ? '.$failed->getMessage();
$this->logger->err($failedMessage);
return;
}
-
- // By default deny authorization
- $response = new Response();
- $response->setStatusCode(403);
- $event->setResponse($response);
}
}