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 2016/05/17 10:03:40 UTC

svn commit: r1744238 - in /webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common: cache/EHCacheReplayCache.java saml/OpenSAMLBootstrap.java util/Loader.java

Author: coheigea
Date: Tue May 17 10:03:39 2016
New Revision: 1744238

URL: http://svn.apache.org/viewvc?rev=1744238&view=rev
Log:
More backwards compat work

Modified:
    webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/cache/EHCacheReplayCache.java
    webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/saml/OpenSAMLBootstrap.java
    webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/util/Loader.java

Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/cache/EHCacheReplayCache.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/cache/EHCacheReplayCache.java?rev=1744238&r1=1744237&r2=1744238&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/cache/EHCacheReplayCache.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/cache/EHCacheReplayCache.java Tue May 17 10:03:39 2016
@@ -39,7 +39,7 @@ public class EHCacheReplayCache implemen
     public static final long MAX_TTL = DEFAULT_TTL * 12L;
     protected Ehcache cache;
     protected CacheManager cacheManager;
-    private long ttl = DEFAULT_TTL;
+    protected long ttl = DEFAULT_TTL;
 
     public EHCacheReplayCache(String key, URL configFileURL) {
         this(key, EHCacheManagerHolder.getCacheManager("", configFileURL));

Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/saml/OpenSAMLBootstrap.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/saml/OpenSAMLBootstrap.java?rev=1744238&r1=1744237&r2=1744238&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/saml/OpenSAMLBootstrap.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/saml/OpenSAMLBootstrap.java Tue May 17 10:03:39 2016
@@ -30,7 +30,7 @@ import org.opensaml.core.xml.config.XMLO
 /**
  * This class intializes the Opensaml library.
  */
-public final class OpenSAMLBootstrap {
+public class OpenSAMLBootstrap {
 
     /** List of default configuration files. */
     private static final String[] XML_CONFIGS = {
@@ -66,10 +66,6 @@ public final class OpenSAMLBootstrap {
         "/saml2-xacml2-profile.xml",
     };
 
-    private OpenSAMLBootstrap() {
-        // complete
-    }
-
     /**
      * Initializes the OpenSAML library, loading default configurations.
      *

Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/util/Loader.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/util/Loader.java?rev=1744238&r1=1744237&r2=1744238&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/util/Loader.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/util/Loader.java Tue May 17 10:03:39 2016
@@ -30,14 +30,10 @@ import java.security.PrivilegedAction;
  * Load resources (or images) from various sources.
  * <p/>
  */
-public final class Loader {
+public class Loader {
     private static final org.slf4j.Logger LOG =
             org.slf4j.LoggerFactory.getLogger(Loader.class);
 
-    private Loader() {
-        // complete
-    }
-
     /**
      * This method will search for <code>resource</code> in different
      * places. The search order is as follows: