Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. <beans:beans xmlns="http://www.springframework.org/schema/security"
  2. xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://www.springframework.org/schema/beans
  4. http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
  5. http://www.springframework.org/schema/security
  6. http://www.springframework.org/schema/security/spring-security-3.1.xsd">
  7.  
  8. <http>
  9. <intercept-url pattern="/video/*" access="ROLE_USER" />
  10. <!-- Basic authentication -->
  11. <http-basic/>
  12. </http>
  13. <authentication-manager>
  14. <authentication-provider>
  15. <user-service>
  16. <user name="test" password="test_pass" authorities="ROLE_USER" />
  17. </user-service>
  18. </authentication-provider>
  19. </authentication-manager>
  20. </beans:beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement