25 lines
951 B
XML
Raw Normal View History

<?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
http://www.springframework.org/schema/security/spring-security-3.2.xsd
http://www.springframework.org/schema/beans
2013-12-31 19:12:12 +02:00
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
2013-08-03 18:01:45 +03:00
<http create-session="stateless" use-expressions="true">
2013-07-25 01:03:26 +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>
</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
</beans:beans>