You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/05/02 16:25:02 UTC
svn commit: r534479 -
/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java
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 )
{