You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2014/02/20 17:44:56 UTC
svn commit: r1570267 - in /webservices/wss4j/trunk:
ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java
ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java
Author: coheigea
Date: Thu Feb 20 16:44:55 2014
New Revision: 1570267
URL: http://svn.apache.org/r1570267
Log:
More caching updates
Modified:
webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java
webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java
Modified: webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java?rev=1570267&r1=1570266&r2=1570267&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/handler/RequestData.java Thu Feb 20 16:44:55 2014
@@ -361,7 +361,7 @@ public class RequestData {
*/
public ReplayCache getTimestampReplayCache() throws WSSecurityException {
if (enableTimestampReplayCache && timestampReplayCache == null) {
- timestampReplayCache = createCache("wss4j-timestamp-cache-");
+ timestampReplayCache = createCache("wss4j.timestamp.cache-");
}
return timestampReplayCache;
@@ -386,7 +386,7 @@ public class RequestData {
*/
public ReplayCache getNonceReplayCache() throws WSSecurityException {
if (enableNonceReplayCache && nonceReplayCache == null) {
- nonceReplayCache = createCache("wss4j-nonce-cache-");
+ nonceReplayCache = createCache("wss4j.nonce.cache-");
}
return nonceReplayCache;
@@ -405,7 +405,7 @@ public class RequestData {
*/
public ReplayCache getSamlOneTimeUseReplayCache() throws WSSecurityException {
if (enableSamlOneTimeUseReplayCache && samlOneTimeUseReplayCache == null) {
- samlOneTimeUseReplayCache = createCache("wss4j-saml-one-time-use-cache-");
+ samlOneTimeUseReplayCache = createCache("wss4j.saml.one.time.use.cache-");
}
return samlOneTimeUseReplayCache;
Modified: webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java?rev=1570267&r1=1570266&r2=1570267&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java (original)
+++ webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/wss4j/stax/ext/WSSSecurityProperties.java Thu Feb 20 16:44:55 2014
@@ -729,7 +729,7 @@ public class WSSSecurityProperties exten
*/
public ReplayCache getTimestampReplayCache() throws WSSecurityException {
if (enableTimestampReplayCache && timestampReplayCache == null) {
- timestampReplayCache = createCache("wss4j-timestamp-cache-");
+ timestampReplayCache = createCache("wss4j.timestamp.cache-");
}
return timestampReplayCache;
@@ -760,7 +760,7 @@ public class WSSSecurityProperties exten
*/
public ReplayCache getNonceReplayCache() throws WSSecurityException {
if (enableNonceReplayCache && nonceReplayCache == null) {
- nonceReplayCache = createCache("wss4j-nonce-cache-");
+ nonceReplayCache = createCache("wss4j.nonce.cache-");
}
return nonceReplayCache;
@@ -779,7 +779,7 @@ public class WSSSecurityProperties exten
*/
public ReplayCache getSamlOneTimeUseReplayCache() throws WSSecurityException {
if (enableSamlOneTimeUseReplayCache && samlOneTimeUseReplayCache == null) {
- samlOneTimeUseReplayCache = createCache("wss4j-saml-one-time-use-cache-");
+ samlOneTimeUseReplayCache = createCache("wss4j.saml.one.time.use.cache-");
}
return samlOneTimeUseReplayCache;