cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject git commit: Fixing cache file location for SAML SSO
Date Mon, 06 Oct 2014 11:14:56 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 0eab963da -> 6085471de


Fixing cache file location for SAML SSO


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/6085471d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/6085471d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/6085471d

Branch: refs/heads/master
Commit: 6085471deb9974b1009eabcd2b067e7a5feec357
Parents: 0eab963
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Mon Oct 6 12:14:24 2014 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Oct 6 12:14:24 2014 +0100

----------------------------------------------------------------------
 .../apache/cxf/rs/security/saml/sso/EHCacheTokenReplayCache.java   | 2 +-
 .../cxf/rs/security/saml/sso/state/EHCacheSPStateManager.java      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/6085471d/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/EHCacheTokenReplayCache.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/EHCacheTokenReplayCache.java
b/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/EHCacheTokenReplayCache.java
index 5df8289..ce89d31 100644
--- a/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/EHCacheTokenReplayCache.java
+++ b/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/EHCacheTokenReplayCache.java
@@ -45,7 +45,7 @@ public class EHCacheTokenReplayCache implements TokenReplayCache<String>
{
     public static final long DEFAULT_TTL = 3600L;
     public static final long MAX_TTL = DEFAULT_TTL * 12L;
     public static final String CACHE_KEY = "cxf.samlp.replay.cache";
-    private static final String DEFAULT_CONFIG_URL = "cxf-samlp-ehcache.xml";
+    private static final String DEFAULT_CONFIG_URL = "/cxf-samlp-ehcache.xml";
     
     private Ehcache cache;
     private CacheManager cacheManager;

http://git-wip-us.apache.org/repos/asf/cxf/blob/6085471d/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/state/EHCacheSPStateManager.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/state/EHCacheSPStateManager.java
b/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/state/EHCacheSPStateManager.java
index a3caa56..920a06d 100644
--- a/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/state/EHCacheSPStateManager.java
+++ b/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/state/EHCacheSPStateManager.java
@@ -45,7 +45,7 @@ public class EHCacheSPStateManager implements SPStateManager {
     public static final long DEFAULT_TTL = 60L * 5L;
     public static final String REQUEST_CACHE_KEY = "cxf.samlp.request.state.cache";
     public static final String RESPONSE_CACHE_KEY = "cxf.samlp.response.state.cache";
-    private static final String DEFAULT_CONFIG_URL = "cxf-samlp-ehcache.xml";
+    private static final String DEFAULT_CONFIG_URL = "/cxf-samlp-ehcache.xml";
     
     private Ehcache requestCache;
     private Ehcache responseCache;


Mime
View raw message