summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShireesh Anjal <anjalshireesh@gmail.com>2011-09-19 03:11:13 -0700
committerShireesh Anjal <anjalshireesh@gmail.com>2011-09-19 03:11:13 -0700
commit491f03e7eb1a44ec9bb4039bb8ca6f03a7f1d0b1 (patch)
tree0145299c270e9f07bf5d28cc909ff929506e0fe0
parent980ee07d32b90037048fa991048f918354bd8a6c (diff)
parent83cb36dfb266c535531e70978fb90b8bf2a347f3 (diff)
Merge pull request #278 from Dhandapani/1.0.0
Changed security configuration to enforce authentication on REST requests for version 1.0.0
-rw-r--r--src/com.gluster.storage.management.gateway/src/spring/gluster-server-security.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com.gluster.storage.management.gateway/src/spring/gluster-server-security.xml b/src/com.gluster.storage.management.gateway/src/spring/gluster-server-security.xml
index 99574afb..e160d31a 100644
--- a/src/com.gluster.storage.management.gateway/src/spring/gluster-server-security.xml
+++ b/src/com.gluster.storage.management.gateway/src/spring/gluster-server-security.xml
@@ -12,7 +12,7 @@
<http auto-config="true" use-expressions="true">
<!-- SSL Protection -->
- <intercept-url pattern="/1.0/**" access="hasRole('ROLE_ADMIN') and fullyAuthenticated" requires-channel="https" />
+ <intercept-url pattern="/1.0.0/**" access="hasRole('ROLE_ADMIN') and fullyAuthenticated" requires-channel="https" />
<intercept-url pattern="*.jnlp" access="hasRole('ROLE_ADMIN') and fullyAuthenticated" requires-channel="any" />
<!-- intercept-url pattern="/*" access="permitAll" requires-channel="any" / -->
<port-mappings>