Skip to content

Commit 92c2e21

Browse files
ngocnhan-tran1996jzheaux
authored andcommitted
Use Spring Framework Url attribute
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 396b04f commit 92c2e21

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

docs/modules/ROOT/pages/servlet/configuration/java.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[[jc]]
33
= Java Configuration
44

5-
General support for https://docs.spring.io/spring-framework/reference/core/beans/java.html[Java configuration] was added to Spring Framework in Spring 3.1.
5+
General support for {spring-framework-reference-url}core/beans/java.html[Java configuration] was added to Spring Framework in Spring 3.1.
66
Spring Security 3.2 introduced Java configuration to let users configure Spring Security without the use of any XML.
77

88
If you are familiar with the xref:servlet/configuration/xml-namespace.adoc#ns-config[Security Namespace Configuration], you should find quite a few similarities between it and Spring Security Java configuration.
@@ -64,7 +64,7 @@ This configuration is not complex or extensive, but it does a lot:
6464
=== AbstractSecurityWebApplicationInitializer
6565

6666
The next step is to register the `springSecurityFilterChain` with the WAR file.
67-
You can do so in Java configuration with https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-servlet/container-config.html[Spring's `WebApplicationInitializer` support] in a Servlet 3.0+ environment.
67+
You can do so in Java configuration with {spring-framework-reference-url}web/webmvc/mvc-servlet/container-config.html[Spring's `WebApplicationInitializer` support] in a Servlet 3.0+ environment.
6868
Not surprisingly, Spring Security provides a base class (`AbstractSecurityWebApplicationInitializer`) to ensure that the `springSecurityFilterChain` gets registered for you.
6969
The way in which we use `AbstractSecurityWebApplicationInitializer` differs depending on if we are already using Spring or if Spring Security is the only Spring component in our application.
7070

0 commit comments

Comments
 (0)