directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r415456 - /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java
Date Mon, 19 Jun 2006 23:02:29 GMT
Author: ersiner
Date: Mon Jun 19 16:02:29 2006
New Revision: 415456

URL: http://svn.apache.org/viewvc?rev=415456&view=rev
Log:
Added some logging for bind operation.

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

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java?rev=415456&r1=415455&r2=415456&view=diff
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java
Mon Jun 19 16:02:29 2006
@@ -411,10 +411,15 @@
     public void bind( NextInterceptor next, LdapDN bindDn, byte[] credentials, List mechanisms,
String saslAuthId )
         throws NamingException
     {
+        
+        log.debug( "bind: bindDn: " + bindDn );
+        
         // check if we are already authenticated and if so we return making
         // sure first that the credentials are not exposed within context
         ServerContext ctx = ( ServerContext ) InvocationStack.getInstance().peek().getCaller();
 
+        log.debug( "bind: principal: " + ctx.getPrincipal() );
+        
         if ( ctx.getPrincipal() != null )
         {
             if ( ctx.getEnvironment().containsKey( Context.SECURITY_CREDENTIALS ) )



Mime
View raw message