directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r516534 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/MutableAuthenticatorConfiguration.java
Date Fri, 09 Mar 2007 20:10:58 GMT
Author: elecharny
Date: Fri Mar  9 12:10:57 2007
New Revision: 516534

URL: http://svn.apache.org/viewvc?view=rev&rev=516534
Log:
Added a constructor which takes a Name and an Authenticatord
Added some javadoc


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

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/MutableAuthenticatorConfiguration.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/MutableAuthenticatorConfiguration.java?view=diff&rev=516534&r1=516533&r2=516534
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/MutableAuthenticatorConfiguration.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/configuration/MutableAuthenticatorConfiguration.java
Fri Mar  9 12:10:57 2007
@@ -39,12 +39,26 @@
     {
     }
 
+    /**
+     * Create and register an authenticator with its name
+     * 
+     * @param name The authenticator name
+     * @param authenticator The authenticator to register
+     */
+    public MutableAuthenticatorConfiguration( String name, Authenticator authenticator )
+    {
+        super.setAuthenticator( name, authenticator );
+    }
 
+    /**
+     * Register an authenticator
+     * 
+     * @param authenticator The authenticator to register
+     */
     public void setAuthenticator( Authenticator authenticator )
     {
         super.setAuthenticator( authenticator );
     }
-
 
     public void setName( String name )
     {



Mime
View raw message