diff options
| author | Shireesh Anjal <anjalshireesh@gmail.com> | 2011-03-28 06:58:51 -0700 |
|---|---|---|
| committer | Shireesh Anjal <anjalshireesh@gmail.com> | 2011-03-28 06:58:51 -0700 |
| commit | bf531d097bc99db08bda4d1a1dec541c57c7933c (patch) | |
| tree | 253a3fc82d5bac3755fc7e32f8456879b69b9979 /com.gluster.storage.management.server/src/spring/gluster-server-security.xml | |
| parent | b27c5d68d3ffa47c92e0fcd7d0873ac2d6b8fca8 (diff) | |
Preparing src for migration to github
Diffstat (limited to 'com.gluster.storage.management.server/src/spring/gluster-server-security.xml')
| -rw-r--r-- | com.gluster.storage.management.server/src/spring/gluster-server-security.xml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/com.gluster.storage.management.server/src/spring/gluster-server-security.xml b/com.gluster.storage.management.server/src/spring/gluster-server-security.xml deleted file mode 100644 index 0de97761..00000000 --- a/com.gluster.storage.management.server/src/spring/gluster-server-security.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<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" - xmlns:jdbc="http://www.springframework.org/schema/jdbc" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd - http://www.springframework.org/schema/security - http://www.springframework.org/schema/security/spring-security-3.0.xsd - "> - - <http auto-config="true" use-expressions="true"> - <intercept-url pattern="/resources/*" - access="hasRole('ROLE_ADMIN') and fullyAuthenticated" /> - <intercept-url pattern="/*" access="permitAll" /> - <!-- SSL Protection --> - <!-- <intercept-url pattern="/resources/*" access="hasRole('ROLE_ADMIN') - and fullyAuthenticated" requires-channel="https"/> <intercept-url pattern="/*" - access="permitAll" requires-channel="any"/> --> - <port-mappings> - <port-mapping http="8080" https="8443" /> - </port-mappings> - - <!-- HTTP basic authentication --> - <http-basic /> - </http> - - <beans:bean - class="org.springframework.security.authentication.encoding.ShaPasswordEncoder" - id="passwordEncoder" /> - - <authentication-manager alias="authenticationManager"> - <authentication-provider user-service-ref="jdbcUserService"> - <!-- Passwords are SHA encrypted --> - <password-encoder hash="sha" /> - </authentication-provider> - </authentication-manager> - - <beans:bean id="jdbcUserService" - class="org.springframework.security.provisioning.JdbcUserDetailsManager" - lazy-init="false"> - <beans:property name="dataSource" ref="dataSource" /> - <beans:property name="authenticationManager" ref="authenticationManager" /> - </beans:bean> -</beans:beans>
\ No newline at end of file |
