You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2016/03/25 18:55:53 UTC

svn commit: r1736623 - /qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/SimpleLDAPAuthenticationManagerImpl.java

Author: orudyy
Date: Fri Mar 25 17:55:53 2016
New Revision: 1736623

URL: http://svn.apache.org/viewvc?rev=1736623&view=rev
Log:
QPID-7063: Fix potential cause for NullPointerException

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

Modified: qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/SimpleLDAPAuthenticationManagerImpl.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/SimpleLDAPAuthenticationManagerImpl.java?rev=1736623&r1=1736622&r2=1736623&view=diff
==============================================================================
--- qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/SimpleLDAPAuthenticationManagerImpl.java (original)
+++ qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/SimpleLDAPAuthenticationManagerImpl.java Fri Mar 25 17:55:53 2016
@@ -379,7 +379,7 @@ public class SimpleLDAPAuthenticationMan
         catch (GeneralSecurityException e)
         {
             _logger.error("Exception creating SSLContext", e);
-            if (trustStore == null)
+            if (trustStore != null)
             {
                 throw new IllegalConfigurationException("Error creating SSLContext with trust store : " +
                                                         trustStore.getName() , e);



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