security work
This commit is contained in:
parent
2cf72a18ee
commit
a63560bb9f
|
@ -1,5 +1,5 @@
|
|||
=========
|
||||
|
||||
Relevant Article:
|
||||
- [Spring Security – security none, filters none, access permitAll](http://www.baeldung.com/security-none-filters-none-access-permitAll)
|
||||
|
||||
- [Spring Security - security none, filters none, access permitAll](http://www.baeldung.com/security-none-filters-none-access-permitAll)
|
||||
- [Spring Security Basic Authentication](http://www.baeldung.com/spring-security-basic-authentication)
|
||||
|
|
|
@ -8,11 +8,9 @@
|
|||
<http pattern="/securityNone" security="none" />
|
||||
|
||||
<http use-expressions="true">
|
||||
<intercept-url pattern="/login*" access="isAnonymous()" />
|
||||
<intercept-url pattern="/permitAll" access="permitAll" />
|
||||
<intercept-url pattern="/**" access="isAuthenticated()" />
|
||||
|
||||
<http-basic entry-point-ref="myBasicAuthenticationEntryPoint" />
|
||||
<http-basic entry-point-ref="myBasicAuthenticationEntryPoint" />
|
||||
|
||||
</http>
|
||||
|
||||
|
|
Loading…
Reference in New Issue