|
@@ -9,18 +9,18 @@
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
|
|
|
|
|
|
- <display-name>Spring Security Preauthentication Demo Application</display-name>
|
|
|
+ <display-name>Spring Security LDAP Demo Application</display-name>
|
|
|
|
|
|
<!--
|
|
|
- - Location of the XML file that defines the root application context
|
|
|
- - Applied by ContextLoaderListener.
|
|
|
- -->
|
|
|
- <context-param>
|
|
|
- <param-name>contextConfigLocation</param-name>
|
|
|
- <param-value>
|
|
|
- /WEB-INF/applicationContext-security.xml
|
|
|
- </param-value>
|
|
|
- </context-param>
|
|
|
+ - Location of the XML file that defines the root application context
|
|
|
+ - Applied by ContextLoaderListener.
|
|
|
+ -->
|
|
|
+ <context-param>
|
|
|
+ <param-name>contextConfigLocation</param-name>
|
|
|
+ <param-value>
|
|
|
+ /WEB-INF/applicationContext-security.xml
|
|
|
+ </param-value>
|
|
|
+ </context-param>
|
|
|
|
|
|
<filter>
|
|
|
<filter-name>springSecurityFilterChain</filter-name>
|
|
@@ -32,18 +32,18 @@
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
</filter-mapping>
|
|
|
|
|
|
- <!--
|
|
|
- - Loads the root application context of this web app at startup.
|
|
|
- - The application context is then available via
|
|
|
- - WebApplicationContextUtils.getWebApplicationContext(servletContext).
|
|
|
+ <!--
|
|
|
+ - Loads the root application context of this web app at startup.
|
|
|
+ - The application context is then available via
|
|
|
+ - WebApplicationContextUtils.getWebApplicationContext(servletContext).
|
|
|
-->
|
|
|
- <listener>
|
|
|
- <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
|
- </listener>
|
|
|
+ <listener>
|
|
|
+ <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
|
+ </listener>
|
|
|
|
|
|
- <!--
|
|
|
- - Publishes events for session creation and destruction through the application
|
|
|
- - context. Optional unless concurrent session control is being used.
|
|
|
+ <!--
|
|
|
+ - Publishes events for session creation and destruction through the application
|
|
|
+ - context. Optional unless concurrent session control is being used.
|
|
|
-->
|
|
|
<listener>
|
|
|
<listener-class>org.springframework.security.ui.session.HttpSessionEventPublisher</listener-class>
|