26 lines
1.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2013-06-02 20:08:13 +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-06-02 19:27:41 +03:00
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-3.1.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">
2013-06-02 20:08:13 +03:00
<http use-expressions="true">
<intercept-url pattern="/login*" access="permitAll" />
<intercept-url pattern="/**" access="isAuthenticated()" />
2013-06-02 20:08:13 +03:00
<!-- <form-login login-page='/login.html' login-processing-url="/perform_login"
default-target-url="/homepage.html" authentication-failure-url="/login.html?error=true" -->
<!-- always-use-default-target="true" /> -->
2013-06-02 20:08:13 +03:00
<http-basic />
2013-06-02 20:08:13 +03:00
</http>
<authentication-manager>
<authentication-provider ref="customAuthenticationProvider" />
</authentication-manager>
</beans:beans>