@ -1,5 +1,4 @@
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<!--
- Application context representing the application WITH security services.
@ -7,7 +6,12 @@
@@ -7,7 +6,12 @@
- $Id$
-->
<beans >
<beans xmlns= "http://www.springframework.org/schema/beans"
xmlns:s="http://www.springframework.org/schema/security"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd">
<bean id= "jdbcTemplate" class= "org.springframework.jdbc.core.JdbcTemplate" >
<property name= "dataSource" ref= "dataSource" />
</bean>
@ -49,13 +53,10 @@
@@ -49,13 +53,10 @@
<!-- ======================== AUTHENTICATION (note there is no UI and this is for integration tests only) ======================= -->
<bean id= "authenticationManager" class= "org.springframework.security.authentication.ProviderManager" >
<property name= "providers" >
<list >
<ref local= "daoAuthenticationProvider" />
</list>
</property>
</bean>
<s:authentication-manager alias= "authenticationManager" >
<s:authentication-provider ref= "daoAuthenticationProvider" />
</s:authentication-manager>
<bean id= "jdbcDaoImpl" class= "org.springframework.security.core.userdetails.jdbc.JdbcDaoImpl" >
<property name= "dataSource" ref= "dataSource" />
@ -82,20 +83,7 @@
@@ -82,20 +83,7 @@
<!-- Automatically receives AuthenticationEvent messages -->
<bean id= "loggerListener" class= "org.springframework.security.authentication.event.LoggerListener" />
<!--
<bean id= "anonymousAuthenticationProvider" class= "org.springframework.security.authentication.anonymous.AnonymousAuthenticationProvider" >
<property name= "key" value= "foobar" />
</bean>
<bean id= "rememberMeServices" class= "org.springframework.security.ui.rememberme.TokenBasedRememberMeServices" >
<property name= "userDetailsService" ref= "jdbcDaoImpl" />
<property name= "key" value= "springRocks" />
</bean>
<bean id= "rememberMeAuthenticationProvider" class= "org.springframework.security.authentication.rememberme.RememberMeAuthenticationProvider" >
<property name= "key" value= "springRocks" />
</bean>
-->
<!-- ========================= "BEFORE INVOCATION" AUTHORIZATION DEFINITIONS ============================== -->
<!-- ACL permission masks used by this application -->