@@ -31,7 +31,7 @@ provider for WSSE authentication. The security protocol for WSSE provides
3131several security benefits:
3232
3333#. Username / Password encryption
34- #. Safe guarding against replay attacks
34+ #. Safeguarding against replay attacks
3535#. No web server configuration required
3636
3737WSSE is very useful for the securing of web services, may they be SOAP or
@@ -147,7 +147,7 @@ set an authenticated token in the token storage if successful::
147147 } catch (AuthenticationException $failed) {
148148 // ... you might log something here
149149
150- // To deny the authentication clear the token. This will redirect to the login page.
150+ // To deny the authentication, clear the token. This will redirect to the login page.
151151 // Make sure to only clear your token, not those of other authentication listeners.
152152 // $token = $this->tokenStorage->getToken();
153153 // if ($token instanceof WsseUserToken && $this->providerKey === $token->getProviderKey()) {
@@ -372,8 +372,8 @@ a firewall in your security configuration.
372372 You may be wondering "why do you need a special factory class to add listeners
373373 and providers to the dependency injection container?". This is a very
374374 good question. The reason is you can use your firewall multiple times,
375- to secure multiple parts of your application. Because of this, each
376- time your firewall is used, a new service is created in the DI container.
375+ to secure multiple parts of your application. Because of this, when
376+ your firewall is used, a new service is created in the DI container.
377377 The factory is what creates these new services.
378378
379379Configuration
0 commit comments