mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-28 23:02:15 +00:00
Added log4j support to tutorial app
This commit is contained in:
parent
1cd7865ed5
commit
743d72ca7b
@ -58,6 +58,11 @@
|
|||||||
<artifactId>standard</artifactId>
|
<artifactId>standard</artifactId>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>log4j</groupId>
|
||||||
|
<artifactId>log4j</artifactId>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -21,7 +21,12 @@
|
|||||||
classpath:applicationContext-business.xml
|
classpath:applicationContext-business.xml
|
||||||
/WEB-INF/applicationContext-security-ns.xml
|
/WEB-INF/applicationContext-security-ns.xml
|
||||||
</param-value>
|
</param-value>
|
||||||
</context-param>
|
</context-param>
|
||||||
|
|
||||||
|
<context-param>
|
||||||
|
<param-name>log4jConfigLocation</param-name>
|
||||||
|
<param-value>/WEB-INF/classes/log4j.properties</param-value>
|
||||||
|
</context-param>
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<filter-name>springSecurityFilterChain</filter-name>
|
<filter-name>springSecurityFilterChain</filter-name>
|
||||||
@ -48,7 +53,11 @@
|
|||||||
-->
|
-->
|
||||||
<listener>
|
<listener>
|
||||||
<listener-class>org.springframework.security.ui.session.HttpSessionEventPublisher</listener-class>
|
<listener-class>org.springframework.security.ui.session.HttpSessionEventPublisher</listener-class>
|
||||||
</listener>
|
</listener>
|
||||||
|
|
||||||
|
<listener>
|
||||||
|
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
|
||||||
|
</listener>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
- Provides core MVC application controller. See contacts-servlet.xml.
|
- Provides core MVC application controller. See contacts-servlet.xml.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user