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 2018/01/23 07:21:00 UTC

[directory-server] 05/05: Fix for DIRSERVER-2220

This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-server.git

commit 1399b77e0205b8b5dd8f67fe188f8fc99979ca8e
Author: Emmanuel Lécharny <el...@symas.com>
AuthorDate: Tue Jan 23 08:20:36 2018 +0100

    Fix for DIRSERVER-2220
---
 .../apache/directory/server/core/authn/AuthenticationInterceptor.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java b/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
index 2843f53..9a51000 100644
--- a/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
+++ b/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
@@ -537,12 +537,12 @@ public class AuthenticationInterceptor extends BaseInterceptor
         catch ( LdapAuthenticationException e )
         {
             // authentication failed, try the next authenticator
-            LOG.info( "Authenticator {} failed to authenticate: {}", authenticator, bindContext );
+            LOG.info( "Authenticator {} failed to authenticate: {}", authenticator, bindContext.getDn() );
         }
         catch ( Exception e )
         {
             // Log other exceptions than LdapAuthenticationException
-            LOG.info( "Unexpected failure for Authenticator {} : {}", authenticator, bindContext );
+            LOG.info( "Unexpected failure for Authenticator {} : {}", authenticator, bindContext.getDn() );
         }
 
         if ( ppe != null )

-- 
To stop receiving notification emails like this one, please contact
elecharny@apache.org.