Skip to content

Commit 3f6f01c

Browse files
committed
Add Spring MVC Links
Issue gh-13062
1 parent c79f04c commit 3f6f01c

File tree

1 file changed

+2
-2
lines changed
  • docs/modules/ROOT/pages/servlet/authentication

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ http {
7676
and no authorization changes are necessary since it simply adjusts the `LogoutFilter`.
7777

7878
[[permit-logout-endpoints]]
79-
However, if you stand up your own logout success endpoint (or in a rare case, <<creating-custom-logout-endpoint, your own logout endpoint>>), say using Spring MVC, you will need permit it in Spring Security.
79+
However, if you stand up your own logout success endpoint (or in a rare case, <<creating-custom-logout-endpoint, your own logout endpoint>>), say using {spring-framework-reference-url}web.html#spring-web[Spring MVC], you will need permit it in Spring Security.
8080
This is because Spring MVC processes your request after Spring Security does.
8181

8282
You can do this using `authorizeHttpRequests` or `<intercept-url>` like so:
@@ -327,7 +327,7 @@ Since {security-api-url}org/springframework/security/web/authentication/logout/L
327327
It is strongly recommended that you use the provided `logout` DSL to configure logout.
328328
One reason is that its easy to forget to call the needed Spring Security components to ensure a proper and complete logout.
329329

330-
In fact, it is often simpler to <<add-logout-handler, register a custom `LogoutHandler`>> than create a Spring MVC endpoint for performing logout.
330+
In fact, it is often simpler to <<add-logout-handler, register a custom `LogoutHandler`>> than create a {spring-framework-reference-url}web.html#spring-web[Spring MVC] endpoint for performing logout.
331331

332332
That said, if you find yourself in a circumstance where a custom logout endpoint is needed, like the following one:
333333

0 commit comments

Comments
 (0)