Skip to content

Commit 14be740

Browse files
committed
Merge branch '6.3.x'
Closes gh-16176
2 parents c16b2c2 + 21ac102 commit 14be740

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/modules/ROOT/pages/servlet/authorization/method-security.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ open class MyCustomerService {
115115

116116
A given invocation to `MyCustomerService#readCustomer` may look something like this when Method Security <<activate-method-security,is activated>>:
117117

118+
[.invert-dark]
118119
image::{figures}/methodsecurity.png[]
119120

120121
1. Spring AOP invokes its proxy method for `readCustomer`. Among the proxy's other advisors, it invokes an javadoc:org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor[] that matches <<annotation-method-pointcuts,the `@PreAuthorize` pointcut>>

docs/modules/ROOT/pages/servlet/exploits/csrf.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ To learn more about CSRF protection for your application, consider the following
8282
CSRF protection is provided by several components that are composed within the javadoc:org.springframework.security.web.csrf.CsrfFilter[]:
8383

8484
.`CsrfFilter` Components
85+
[.invert-dark]
8586
image::{figures}/csrf.png[]
8687

8788
CSRF protection is divided into two parts:
@@ -90,6 +91,7 @@ CSRF protection is divided into two parts:
9091
2. Determine if the request requires CSRF protection, load and validate the token, and <<csrf-access-denied-handler,handle `AccessDeniedException`>>.
9192

9293
.`CsrfFilter` Processing
94+
[.invert-dark]
9395
image::{figures}/csrf-processing.png[]
9496

9597
* image:{icondir}/number_1.png[] First, the javadoc:org.springframework.security.web.csrf.DeferredCsrfToken[] is loaded, which holds a reference to the <<csrf-token-repository,`CsrfTokenRepository`>> so that the persisted `CsrfToken` can be loaded later (in image:{icondir}/number_4.png[]).

0 commit comments

Comments
 (0)