Skip to content

Commit

Permalink
Corrected small typos (fixes spring-attic#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
windmueller committed Jun 26, 2019
1 parent 0af27fc commit 95eb2c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ chain of `AccessDecisionVoter`, a bit like the `ProviderManager`
delegates to `AuthenticationProviders`.

An `AccessDecisionVoter` considers an `Authentication` (representing a
principal) and a secure `Object` which as been decorated with
principal) and a secure `Object` which has been decorated with
`ConfigAttributes`:

[source, java]
Expand Down Expand Up @@ -293,7 +293,7 @@ request.
image::{images}/security-filters-dispatch.png[Security Filter Dispatch,70%]

A vanilla Spring Boot application with no custom security
configuration has a several (call it n) filter chains, where usually
configuration has several (call it n) filter chains, where usually
n=6. The first (n-1) chains are there just to ignore static resource
patterns, like `/css/{all}` and `/images/{all}`, and the error view
`/error` (the paths can be controlled by the user with
Expand Down Expand Up @@ -510,7 +510,7 @@ the method parameter. The type of the `Principal` in an
`Authentication` is dependent on the `AuthenticationManager` used to
validate the authentication, so this can be a useful little trick to get a type safe reference to your user data.

If Spring Security is in use the `Principal` from the
If Spring Security is in use, the `Principal` from the
`HttpServletRequest` will be of type `Authentication`, so you can also
use that directly:

Expand Down

0 comments on commit 95eb2c7

Please sign in to comment.