Repository: cxf Updated Branches: refs/heads/3.0.x-fixes 59e67563a -> 75ddd1fad
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/75ddd1fa Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/75ddd1fa Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/75ddd1fa Branch: refs/heads/3.0.x-fixes Commit: 75ddd1fad131518c2e6e3d7b89ca95480926e84b Parents: 59e6756 Author: Colm O hEigeartaigh <[email protected]> Authored: Mon Oct 6 12:14:24 2014 +0100 Committer: Colm O hEigeartaigh <[email protected]> Committed: Mon Oct 6 12:15:45 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/75ddd1fa/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/75ddd1fa/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;
