Skip to content

Commit a78e888

Browse files
MuhammadNFadhilrwinch
authored andcommitted
Fixed grammatical mistakes in the docs.
1 parent fdd50ca commit a78e888

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/modules/ROOT/pages/servlet/authentication/persistence.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ image::{figures}/securitycontextpersistencefilter.png[]
196196

197197
image:{icondir}/number_1.png[] Before running the rest of the application, `SecurityContextPersistenceFilter` loads the `SecurityContext` from the `SecurityContextRepository` and sets it on the `SecurityContextHolder`.
198198

199-
image:{icondir}/number_2.png[] Next, the application is ran.
199+
image:{icondir}/number_2.png[] Next, the application is run.
200200

201201
image:{icondir}/number_3.png[] Finally, if the `SecurityContext` has changed, we save the `SecurityContext` using the `SecurityContextRepository`.
202202
This means that when using `SecurityContextPersistenceFilter`, just setting the `SecurityContextHolder` will ensure that the `SecurityContext` is persisted using `SecurityContextRepository`.
@@ -219,7 +219,7 @@ image::{figures}/securitycontextholderfilter.png[]
219219

220220
image:{icondir}/number_1.png[] Before running the rest of the application, `SecurityContextHolderFilter` loads the `SecurityContext` from the `SecurityContextRepository` and sets it on the `SecurityContextHolder`.
221221

222-
image:{icondir}/number_2.png[] Next, the application is ran.
222+
image:{icondir}/number_2.png[] Next, the application is run.
223223

224224
Unlike, xref:servlet/authentication/persistence.adoc#securitycontextpersistencefilter[`SecurityContextPersistenceFilter`], `SecurityContextHolderFilter` only loads the `SecurityContext` it does not save the `SecurityContext`.
225225
This means that when using `SecurityContextHolderFilter`, it is required that the `SecurityContext` is explicitly saved.

0 commit comments

Comments
 (0)