directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r516538 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/AuthenticatorConfiguration.java
Date Fri, 09 Mar 2007 20:13:34 GMT
Author: elecharny
Date: Fri Mar  9 12:13:33 2007
New Revision: 516538

URL: http://svn.apache.org/viewvc?view=rev&rev=516538
Log:
Added a new constructor

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/AuthenticatorConfiguration.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/AuthenticatorConfiguration.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/AuthenticatorConfiguration.java?view=diff&rev=516538&r1=516537&r2=516538
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/AuthenticatorConfiguration.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/AuthenticatorConfiguration.java
Fri Mar  9 12:13:33 2007
@@ -60,6 +60,18 @@
         this.authenticator = authenticator;
     }
 
+    /**
+     * Sets the {@link Authenticator} to configure, with its name
+     * 
+     * @param name The authenticator name
+     * @param authenticator The authenticator to register
+     */
+    protected void setAuthenticator( String name, Authenticator authenticator )
+    {
+        this.authenticator = authenticator;
+        this.name = name;
+    }
+
 
     /**
      * Returns the user-defined name of the {@link Authenticator} that



Mime
View raw message