mvc and rest clarification for projects
This commit is contained in:
parent
5489a6a15c
commit
af0578e7bf
@ -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)
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user