2013-07-25 00:06:35 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<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="
|
|
|
|
|
http://www.springframework.org/schema/security
|
2013-12-18 13:16:19 +02:00
|
|
|
http://www.springframework.org/schema/security/spring-security-3.2.xsd
|
2013-07-25 00:06:35 +03:00
|
|
|
http://www.springframework.org/schema/beans
|
2014-09-15 14:26:17 +03:00
|
|
|
http://www.springframework.org/schema/beans/spring-beans-4.1.xsd">
|
2013-07-25 00:06:35 +03:00
|
|
|
|
2013-08-03 18:01:45 +03:00
|
|
|
<http create-session="stateless" use-expressions="true">
|
2013-07-25 01:03:26 +03:00
|
|
|
|
2013-07-25 00:06:35 +03:00
|
|
|
<http-basic />
|
|
|
|
|
|
|
|
|
|
</http>
|
|
|
|
|
|
|
|
|
|
<authentication-manager>
|
2013-07-25 01:03:26 +03:00
|
|
|
<authentication-provider>
|
|
|
|
|
<user-service>
|
2014-01-30 20:49:50 +02:00
|
|
|
<user name="user1" password="user1Pass" authorities="ROLE_USER" />
|
2013-07-25 01:03:26 +03:00
|
|
|
</user-service>
|
|
|
|
|
</authentication-provider>
|
2013-07-25 00:06:35 +03:00
|
|
|
</authentication-manager>
|
|
|
|
|
|
2013-07-26 01:10:43 +03:00
|
|
|
<global-method-security pre-post-annotations="enabled" />
|
2013-08-03 18:01:45 +03:00
|
|
|
|
2013-07-25 00:06:35 +03:00
|
|
|
</beans:beans>
|