You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by lq...@apache.org on 2016/09/29 13:14:18 UTC

svn commit: r1762765 - /qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/ManagedPeerCertificateTrustStoreImpl.java

Author: lquack
Date: Thu Sep 29 13:14:18 2016
New Revision: 1762765

URL: http://svn.apache.org/viewvc?rev=1762765&view=rev
Log:
QPID-7438: [Java Broker] Make ManagedOperations ManagedPeerCertificateTrustStore#removeCertificates and #addCertificate synchronous

Modified:
    qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/ManagedPeerCertificateTrustStoreImpl.java

Modified: qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/ManagedPeerCertificateTrustStoreImpl.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/ManagedPeerCertificateTrustStoreImpl.java?rev=1762765&r1=1762764&r2=1762765&view=diff
==============================================================================
--- qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/ManagedPeerCertificateTrustStoreImpl.java (original)
+++ qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/ManagedPeerCertificateTrustStoreImpl.java Thu Sep 29 13:14:18 2016
@@ -269,7 +269,7 @@ public class ManagedPeerCertificateTrust
         final Set<Certificate> certificates = new LinkedHashSet<>(_storedCertificates);
         if (certificates.add(cert))
         {
-            setAttributesAsync(Collections.<String, Object>singletonMap("storedCertificates", certificates));
+            setAttributes(Collections.<String, Object>singletonMap("storedCertificates", certificates));
         }
     }
 
@@ -321,7 +321,7 @@ public class ManagedPeerCertificateTrust
 
         if (updated)
         {
-            setAttributesAsync(Collections.<String, Object>singletonMap("storedCertificates", currentCerts));
+            setAttributes(Collections.<String, Object>singletonMap("storedCertificates", currentCerts));
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org