directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1805964 - /directory/apacheds/branches/apacheds-value/server-config/src/main/java/org/apache/directory/server/config/beans/AuthenticatorBean.java
Date Wed, 23 Aug 2017 21:37:56 GMT
Author: elecharny
Date: Wed Aug 23 21:37:56 2017
New Revision: 1805964

URL: http://svn.apache.org/viewvc?rev=1805964&view=rev
Log:
Made the "ads-baseDn" attribute not mandatory to avoid NPEs

Modified:
    directory/apacheds/branches/apacheds-value/server-config/src/main/java/org/apache/directory/server/config/beans/AuthenticatorBean.java

Modified: directory/apacheds/branches/apacheds-value/server-config/src/main/java/org/apache/directory/server/config/beans/AuthenticatorBean.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/server-config/src/main/java/org/apache/directory/server/config/beans/AuthenticatorBean.java?rev=1805964&r1=1805963&r2=1805964&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-value/server-config/src/main/java/org/apache/directory/server/config/beans/AuthenticatorBean.java
(original)
+++ directory/apacheds/branches/apacheds-value/server-config/src/main/java/org/apache/directory/server/config/beans/AuthenticatorBean.java
Wed Aug 23 21:37:56 2017
@@ -35,7 +35,7 @@ public abstract class AuthenticatorBean
     private String authenticatorId;
 
     /** The base DN which will be the starting point from which we use the authenticator
*/
-    @ConfigurationElement(attributeType = "ads-baseDn")
+    @ConfigurationElement(attributeType = "ads-baseDn", isOptional = true)
     protected String baseDn;
 
 



Mime
View raw message