directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r159249 - in directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server: authn/AbstractAuthenticator.java authn/AnonymousAuthenticator.java authn/Authenticator.java authn/SimpleAuthenticator.java interceptor/InterceptorChain.java jndi/AuthenticationService.java jndi/Authenticator.java jndi/AuthenticatorConfigBuilder.java
Date Mon, 28 Mar 2005 16:05:29 GMT
Author: akarasulu
Date: Mon Mar 28 08:05:28 2005
New Revision: 159249

URL: http://svn.apache.org/viewcvs?view=rev&rev=159249
Log:
renaming Authenticator to AuthenticationService before moving class due to naming conflict
in authn package

Added:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AuthenticationService.java
      - copied, changed from r159247, directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/Authenticator.java
Removed:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/Authenticator.java
Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AbstractAuthenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AnonymousAuthenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/Authenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/interceptor/InterceptorChain.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AuthenticatorConfigBuilder.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AbstractAuthenticator.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AbstractAuthenticator.java?view=diff&r1=159248&r2=159249
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AbstractAuthenticator.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AbstractAuthenticator.java
Mon Mar 28 08:05:28 2005
@@ -37,7 +37,7 @@
     public String authenticatorType;
 
     /**
-     * Create a new Authenticator.
+     * Create a new AuthenticationService.
      *
      * @param type authenticator's type
      */

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AnonymousAuthenticator.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AnonymousAuthenticator.java?view=diff&r1=159248&r2=159249
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AnonymousAuthenticator.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AnonymousAuthenticator.java
Mon Mar 28 08:05:28 2005
@@ -23,7 +23,7 @@
 import javax.naming.NamingException;
 
 /**
- * A default implentation of an Authenticator for handling anonymous connections.
+ * A default implentation of an AuthenticationService for handling anonymous connections.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/Authenticator.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/Authenticator.java?view=diff&r1=159248&r2=159249
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/Authenticator.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/Authenticator.java
Mon Mar 28 08:05:28 2005
@@ -25,7 +25,7 @@
 /**
  * Defines methods that all Authenticators must implement.
  *
- * <p>An Authenticator is a program that performs client authentication based on the
authentication
+ * <p>An AuthenticationService is a program that performs client authentication based
on the authentication
  * method/type that the client specifies in the JNDI properties.
  *
  * <p>To implement this interface, you can write an authenticator that extends org.apache.ldap.server.authn.AbstractAuthenticator.

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java?view=diff&r1=159248&r2=159249
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java
Mon Mar 28 08:05:28 2005
@@ -33,7 +33,7 @@
 
 
 /**
- * A simple Authenticator that just authenticates clear text passwords
+ * A simple AuthenticationService that just authenticates clear text passwords
  * contained within the <code>userPassword</code> attribute.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/interceptor/InterceptorChain.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/interceptor/InterceptorChain.java?view=diff&r1=159248&r2=159249
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/interceptor/InterceptorChain.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/interceptor/InterceptorChain.java
Mon Mar 28 08:05:28 2005
@@ -27,7 +27,7 @@
 
 import javax.naming.NamingException;
 
-import org.apache.ldap.server.jndi.Authenticator;
+import org.apache.ldap.server.jndi.AuthenticationService;
 import org.apache.ldap.server.invocation.Invocation;
 
 
@@ -58,7 +58,7 @@
     public static InterceptorChain newDefaultChain()
     {
         InterceptorChain chain = new InterceptorChain();
-        chain.addBefore( NEXT_INTERCEPTOR, "authenticator", new Authenticator() );
+        chain.addBefore( NEXT_INTERCEPTOR, "authenticator", new AuthenticationService() );
         chain.addBefore( NEXT_INTERCEPTOR, "authorizer", new Authorizer() );
         chain.addBefore( NEXT_INTERCEPTOR, "validator", new Validator() );
         chain.addBefore( NEXT_INTERCEPTOR, "schemaManager", new SchemaManager() );

Copied: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AuthenticationService.java
(from r159247, directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/Authenticator.java)
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AuthenticationService.java?view=diff&rev=159249&p1=directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/Authenticator.java&r1=159247&p2=directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AuthenticationService.java&r2=159249
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/Authenticator.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AuthenticationService.java
Mon Mar 28 08:05:28 2005
@@ -51,7 +51,7 @@
  * @author Trustin Lee (trustin@apache.org)
  * @version $Rev$, $Date$
  */
-public class Authenticator implements Interceptor
+public class AuthenticationService implements Interceptor
 {
     /** short for Context.SECURITY_AUTHENTICATION */
     private static final String AUTH_TYPE = Context.SECURITY_AUTHENTICATION;
@@ -66,7 +66,7 @@
     /**
      * Creates an authentication service interceptor.
      */
-    public Authenticator()
+    public AuthenticationService()
     {
     }
 
@@ -141,11 +141,11 @@
     }
 
     /**
-     * Registers an Authenticator with this AuthenticatorService.  Called by each
-     * Authenticator implementation after it has started to register for
+     * Registers an AuthenticationService with the AuthenticationService.  Called by each
+     * AuthenticationService implementation after it has started to register for
      * authentication operation calls.
      *
-     * @param authenticator Authenticator component to register with this
+     * @param authenticator AuthenticationService component to register with this
      * AuthenticatorService.
      */
     public void register( org.apache.ldap.server.authn.Authenticator authenticator )
@@ -160,13 +160,13 @@
     }
 
     /**
-     * Unregisters an Authenticator with this AuthenticatorService.  Called for each
-     * registered Authenticator right before it is to be stopped.  This prevents
+     * Unregisters an AuthenticationService with the AuthenticationService.  Called for each
+     * registered AuthenticationService right before it is to be stopped.  This prevents
      * protocol server calls from reaching the Backend and effectively puts
      * the ContextPartition's naming context offline.
      *
-     * @param authenticator Authenticator component to unregister with this
-     * AuthenticatorService.
+     * @param authenticator AuthenticationService component to unregister with this
+     * AuthenticationService.
      */
     public void unregister( org.apache.ldap.server.authn.Authenticator authenticator )
     {

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AuthenticatorConfigBuilder.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AuthenticatorConfigBuilder.java?view=diff&r1=159248&r2=159249
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AuthenticatorConfigBuilder.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AuthenticatorConfigBuilder.java
Mon Mar 28 08:05:28 2005
@@ -42,7 +42,7 @@
 
     /**
      * Extracts properties from a Hashtable and builds a configuration bean for
-     * an Authenticator.
+     * an AuthenticationService.
      *
      * @param authenticatorName the name of the authenticator to extract configs for
      * @param env the Hastable containing usually JNDI environment settings



Mime
View raw message