1 changed files with 0 additions and 51 deletions
@ -1,51 +0,0 @@
@@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
||||
<beans:beans xmlns="http://www.springframework.org/schema/security" |
||||
xmlns:beans="http://www.springframework.org/schema/beans" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd |
||||
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.xsd"> |
||||
|
||||
<http> |
||||
<intercept-url pattern='/unprotected' filters='none' /> |
||||
<intercept-url pattern='/somepath' access='ROLE_SPECIAL,ROLE_USER' requires-channel='http' /> |
||||
<intercept-url pattern='/**' access='ROLE_USER' /> |
||||
|
||||
<!-- Default form login configuration. Will create filter and entry point --> |
||||
<form-login /> |
||||
|
||||
<!-- Default basic auth configuration. Will create filter and entry point --> |
||||
<http-basic/> |
||||
|
||||
<!-- Default logout configuration --> |
||||
<logout /> |
||||
|
||||
<concurrent-session-control max-sessions='1'/> |
||||
|
||||
<remember-me key='doesntmatter' token-repository-ref='tokenRepo'/> |
||||
|
||||
<port-mappings> |
||||
<port-mapping http='9080' https='9443'/> |
||||
</port-mappings> |
||||
</http> |
||||
|
||||
<authentication-provider> |
||||
<user-service> |
||||
<user name='bob' password='bobspassword' authorities='ROLE_A,ROLE_B' /> |
||||
<user name='bill' password='billspassword' authorities='ROLE_A,ROLE_B,AUTH_OTHER' /> |
||||
</user-service> |
||||
</authentication-provider> |
||||
|
||||
<beans:bean id='tokenRepo' class='org.springframework.security.ui.rememberme.InMemoryTokenRepositoryImpl'/> |
||||
|
||||
<!-- bean name='rememberMeServices' class='org.springframework.security.ui.rememberme.NullRememberMeServices'/ --> |
||||
|
||||
|
||||
<beans:bean id='userFilter' class='org.springframework.security.util.MockFilter'> |
||||
<user-filter order='0'/> |
||||
</beans:bean> |
||||
|
||||
<beans:bean id='userFilter2' class='org.springframework.security.util.MockFilter'/> |
||||
|
||||
|
||||
</beans:beans> |
||||
Loading…
Reference in new issue