瀏覽代碼

Support new key requirement on DAO authentication provider.

Ben Alex 21 年之前
父節點
當前提交
8a4edca136
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/src/main/resources/org/acegisecurity/adapters/acegisecurity.xml

+ 1 - 0
core/src/main/resources/org/acegisecurity/adapters/acegisecurity.xml

@@ -36,6 +36,7 @@
 	<!-- Authentication provider that queries our data access object  -->
 	<bean id="daoAuthenticationProvider" class="net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider">
      	<property name="authenticationDao"><ref bean="inMemoryDaoImpl"/></property>
+		<property name="key"><value>my_password</value></property>
 	</bean>
 
 	<!-- The authentication manager that iterates through our only authentication provider -->