directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject [directory-server] 05/05: Fix for DIRSERVER-2220
Date Tue, 23 Jan 2018 07:21:00 GMT
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 <elecharny@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.

Mime
View raw message