mvc and rest clarification for projects

This commit is contained in:
eugenp 2013-07-14 15:05:57 +03:00
parent 5489a6a15c
commit af0578e7bf
2 changed files with 0 additions and 9 deletions

View File

@ -4,5 +4,4 @@
### Relevant Articles:
- [Spring REST Service Security](http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/)
- [Spring Security Authentication Provider](http://www.baeldung.com/spring-security-authentication-provider)

View File

@ -7,16 +7,8 @@
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">
<http use-expressions="true">
<intercept-url pattern="/login*" access="permitAll" />
<intercept-url pattern="/**" access="isAuthenticated()" />
<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"/>
<http-basic />
</http>