directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r534479 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java
Date Wed, 02 May 2007 14:25:02 GMT
Author: elecharny
Date: Wed May  2 07:25:01 2007
New Revision: 534479

URL: http://svn.apache.org/viewvc?view=rev&rev=534479
Log:
Minor refactoring, removing warnings and annotations

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java?view=diff&rev=534479&r1=534478&r2=534479
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java
Wed May  2 07:25:01 2007
@@ -73,7 +73,6 @@
     /** The service name */
     public static final String NAME = "authenticationService";
     
-    
     /** Speedup for logs */
     private static final boolean IS_DEBUG = log.isDebugEnabled();
 
@@ -89,7 +88,6 @@
     {
     }
 
-
     /**
      * Registers and initializes all {@link Authenticator}s to this service.
      */
@@ -116,7 +114,6 @@
     /**
      * Deinitializes and deregisters all {@link Authenticator}s from this service.
      */
-    @SuppressWarnings("unchecked")
     public void destroy()
     {
         Set<Collection<Authenticator>> clonedAuthenticatorCollections = new HashSet<Collection<Authenticator>>();
@@ -448,7 +445,7 @@
     {   
         // The DN is always normalized here
         LdapDN normBindDn = opContext.getDn();
-        String bindUpDn = opContext.getDn().getUpName();
+        String bindUpDn = normBindDn.getUpName();
         
         if ( IS_DEBUG )
         {



Mime
View raw message