security work

This commit is contained in:
eugenp 2013-08-04 01:07:38 +03:00
parent 098c1070d6
commit a7a0328b2d
1 changed files with 2 additions and 3 deletions

View File

@ -16,15 +16,14 @@
</beans:bean>
<http use-expressions="true" create-session="stateless" entry-point-ref="digestEntryPoint">
<intercept-url pattern="/**" access="isAuthenticated()" />
<custom-filter ref="digestFilter" after="BASIC_AUTH_FILTER" />
</http>
<authentication-manager>
<authentication-provider>
<user-service id="userService">
<user name="user" password="userPass" authorities="ROLE_USER" />
<user name="user1" password="user1Pass" authorities="ROLE_USER" />
<user name="admin1" password="admin1Pass" authorities="ROLE_ADMIN" />
</user-service>
</authentication-provider>
</authentication-manager>