[java-opensaml COMMIT] /trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicWhitelistBlacklistConf...

noreply at shibboleth.net noreply at shibboleth.net
Fri Apr 11 16:52:28 EDT 2014


Author: putmanb
Date: Fri Apr 11 16:52:27 2014
New Revision: 3781

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3781&view=rev
Log:
Add missing property setters.

Modified:
    trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicWhitelistBlacklistConfiguration.java

Modified: trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicWhitelistBlacklistConfiguration.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicWhitelistBlacklistConfiguration.java?rev=3781&r1=3780&r2=3781&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicWhitelistBlacklistConfiguration.java (original)
+++ trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicWhitelistBlacklistConfiguration.java Fri Apr 11 16:52:27 2014
@@ -91,6 +91,16 @@
     public boolean isWhitelistMerge() {
         return whitelistMerge;
     }
+    
+    /**
+     * Set the flag indicating whether to merge this configuration's whitelist with one of a lower order of precedence,
+     * or to treat this whitelist as authoritative.
+     * 
+     * @param flag true if should merge, false otherwise
+     */
+    public void setWhitelistMerge(boolean flag) {
+        whitelistMerge = flag;
+    }
 
     /**
      * Get the list of blacklisted algorithm URI's.
@@ -116,6 +126,16 @@
         return blacklistMerge;
     }
 
+    /**
+     * Set the flag indicating whether to merge this configuration's blacklist with one of a lower order of precedence,
+     * or to treat this blacklist as authoritative.
+     * 
+     * @param flag true if should merge, false otherwise
+     */
+    public void setBlacklistMerge(boolean flag) {
+        blacklistMerge = flag;
+    }
+
     /** {@inheritDoc} */
     @Nonnull public Precedence getWhitelistBlacklistPrecedence() {
         return precedence;



More information about the commits mailing list