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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to