2013-05-12 11:15:16 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2013-05-29 18:29:25 +03:00
|
|
|
<beans:beans xmlns="http://www.springframework.org/schema/security"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
|
|
|
|
|
xsi:schemaLocation="
|
2013-12-18 13:25:45 +02:00
|
|
|
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd
|
2013-12-31 19:12:12 +02:00
|
|
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
|
2013-05-12 11:15:16 +03:00
|
|
|
|
2013-05-29 18:29:25 +03:00
|
|
|
<http pattern="/securityNone" security="none" />
|
2013-05-22 20:52:33 +03:00
|
|
|
|
2013-05-29 18:29:25 +03:00
|
|
|
<http use-expressions="true">
|
|
|
|
|
<intercept-url pattern="/**" access="isAuthenticated()" />
|
2013-05-22 20:52:33 +03:00
|
|
|
|
2013-06-01 19:40:30 +03:00
|
|
|
<http-basic entry-point-ref="myBasicAuthenticationEntryPoint" />
|
2013-05-22 20:52:33 +03:00
|
|
|
|
2013-05-29 18:29:25 +03:00
|
|
|
</http>
|
2013-05-22 20:52:33 +03:00
|
|
|
|
2013-05-29 18:29:25 +03:00
|
|
|
<authentication-manager>
|
|
|
|
|
<authentication-provider>
|
|
|
|
|
<user-service>
|
|
|
|
|
<user name="user1" password="user1Pass" authorities="ROLE_USER" />
|
|
|
|
|
</user-service>
|
|
|
|
|
</authentication-provider>
|
|
|
|
|
</authentication-manager>
|
2013-05-12 11:15:16 +03:00
|
|
|
|
|
|
|
|
</beans:beans>
|