1
0
mirror of synced 2026-08-04 09:17:02 +00:00

Support <repository> and JbcUserDetailsManager.

This commit is contained in:
Ben Alex
2007-12-04 05:27:17 +00:00
parent 8cf46ad0f8
commit 0b0b174eda
7 changed files with 78 additions and 45 deletions
@@ -25,12 +25,12 @@ http://www.springframework.org/schema/security http://www.springframework.org/sc
<remember-me key="doesntmatter" tokenRepository="tokenRepo"/>
</http>
<authentication-provider>
<repository>
<user-service>
<user name="bob" password="bobspassword" authorities="ROLE_A,ROLE_B" />
<user name="bill" password="billspassword" authorities="ROLE_A,ROLE_B,AUTH_OTHER" />
</user-service>
</authentication-provider>
</repository>
<beans:bean name="tokenRepo" class="org.springframework.security.ui.rememberme.InMemoryTokenRepositoryImpl"/>
@@ -16,11 +16,11 @@ http://www.springframework.org/schema/security http://www.springframework.org/sc
</intercept-methods>
</b:bean>
<authentication-provider>
<repository>
<user-service>
<user name="bob" password="bobspassword" authorities="ROLE_A,ROLE_B" />
<user name="bill" password="billspassword" authorities="ROLE_A,ROLE_B,AUTH_OTHER" />
</user-service>
</authentication-provider>
</repository>
</b:beans>