directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r158310 - directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor
Date Sun, 20 Mar 2005 06:11:27 GMT
Author: trustin
Date: Sat Mar 19 22:11:25 2005
New Revision: 158310

URL: http://svn.apache.org/viewcvs?view=rev&rev=158310
Log:
Fixed: Wrong class name


Added:
    directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor/Authenticator.java
      - copied, changed from r158301, directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor/Authenticatior.java
Removed:
    directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor/Authenticatior.java

Copied: directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor/Authenticator.java
(from r158301, directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor/Authenticatior.java)
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor/Authenticator.java?view=diff&rev=158310&p1=directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor/Authenticatior.java&r1=158301&p2=directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor/Authenticator.java&r2=158310
==============================================================================
--- directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor/Authenticatior.java
(original)
+++ directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/call/interceptor/Authenticator.java
Sat Mar 19 22:11:25 2005
@@ -31,8 +31,6 @@
 import org.apache.ldap.common.exception.LdapAuthenticationNotSupportedException;
 import org.apache.ldap.common.message.ResultCodeEnum;
 import org.apache.ldap.common.util.StringTools;
-import org.apache.ldap.server.auth.AbstractAuthenticator;
-import org.apache.ldap.server.auth.Authenticator;
 import org.apache.ldap.server.auth.LdapPrincipal;
 import org.apache.ldap.server.jndi.ServerContext;
 import org.apache.ldap.server.jndi.ServerLdapContext;
@@ -44,7 +42,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public class Authenticatior implements Interceptor
+public class Authenticator implements Interceptor
 {
     /** short for Context.SECURITY_AUTHENTICATION */
     private static final String AUTH_TYPE = Context.SECURITY_AUTHENTICATION;
@@ -59,7 +57,7 @@
     /**
      * Creates an authentication service interceptor.
      */
-    public Authenticatior()
+    public Authenticator()
     {
     }
 
@@ -71,7 +69,7 @@
      * @param authenticator Authenticator component to register with this
      * AuthenticatorService.
      */
-    public void register( AbstractAuthenticator authenticator )
+    public void register( org.apache.ldap.server.auth.Authenticator authenticator )
     {
         Collection authenticatorList = getAuthenticators( authenticator.getType() );
         if ( authenticatorList == null )
@@ -91,7 +89,7 @@
      * @param authenticator Authenticator component to unregister with this
      * AuthenticatorService.
      */
-    public void unregister( Authenticator authenticator )
+    public void unregister( org.apache.ldap.server.auth.Authenticator authenticator )
     {
         Collection authenticatorList = getAuthenticators( authenticator.getType() );
         if ( authenticatorList == null )
@@ -176,7 +174,8 @@
         {
             try
             {
-                Authenticator authenticator = ( Authenticator ) i.next();
+                org.apache.ldap.server.auth.Authenticator authenticator =
+                        ( org.apache.ldap.server.auth.Authenticator ) i.next();
 
                 // perform the authentication
                 LdapPrincipal authorizationId = authenticator.authenticate( ctx );



Mime
View raw message