activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1507245 - /activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/security/SecurityFactory.scala
Date Fri, 26 Jul 2013 09:57:24 GMT
Author: chirino
Date: Fri Jul 26 09:57:23 2013
New Revision: 1507245

URL: http://svn.apache.org/r1507245
Log:
Fixing bug that can cause NPE.

Modified:
    activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/security/SecurityFactory.scala

Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/security/SecurityFactory.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/security/SecurityFactory.scala?rev=1507245&r1=1507244&r2=1507245&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/security/SecurityFactory.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/security/SecurityFactory.scala
Fri Jul 26 09:57:23 2013
@@ -55,7 +55,7 @@ object DefaultSecurityFactory extends Se
       // use the broker's settings..
       host.authenticator = broker.authenticator
     }
-    if( broker.authenticator !=null ) {
+    if( host.authenticator !=null ) {
       host.authorizer = Authorizer(host)
     } else {
       host.authorizer = Authorizer()



Mime
View raw message