directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r278643 - in /directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc: authentication/AuthenticationExceptionHandler.java ticketgrant/TicketGrantingExceptionHandler.java
Date Sun, 04 Sep 2005 23:42:54 GMT
Author: erodriguez
Date: Sun Sep  4 16:42:50 2005
New Revision: 278643

URL: http://svn.apache.org/viewcvs?rev=278643&view=rev
Log:
Added logging statements to Kerberos protocol exception handlers (AS, TGS).

Modified:
    directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc/authentication/AuthenticationExceptionHandler.java
    directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc/ticketgrant/TicketGrantingExceptionHandler.java

Modified: directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc/authentication/AuthenticationExceptionHandler.java
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc/authentication/AuthenticationExceptionHandler.java?rev=278643&r1=278642&r2=278643&view=diff
==============================================================================
--- directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc/authentication/AuthenticationExceptionHandler.java
(original)
+++ directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc/authentication/AuthenticationExceptionHandler.java
Sun Sep  4 16:42:50 2005
@@ -21,9 +21,13 @@
 import org.apache.kerberos.kdc.KdcConfiguration;
 import org.apache.kerberos.messages.ErrorMessage;
 import org.apache.kerberos.service.ErrorMessageHandler;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 public class AuthenticationExceptionHandler extends ErrorMessageHandler
 {
+    private static final Logger log = LoggerFactory.getLogger( AuthenticationExceptionHandler.class
);
+
     public boolean execute( Context context ) throws Exception
     {
         return CONTINUE_CHAIN;
@@ -35,6 +39,8 @@
         {
             return CONTINUE_CHAIN;
         }
+
+        log.debug( exception.getMessage() );
 
         AuthenticationContext authContext = (AuthenticationContext) context;
         KdcConfiguration config = authContext.getConfig();

Modified: directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc/ticketgrant/TicketGrantingExceptionHandler.java
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc/ticketgrant/TicketGrantingExceptionHandler.java?rev=278643&r1=278642&r2=278643&view=diff
==============================================================================
--- directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc/ticketgrant/TicketGrantingExceptionHandler.java
(original)
+++ directory/protocol-providers/kerberos/trunk/src/java/org/apache/kerberos/kdc/ticketgrant/TicketGrantingExceptionHandler.java
Sun Sep  4 16:42:50 2005
@@ -21,9 +21,13 @@
 import org.apache.kerberos.kdc.KdcConfiguration;
 import org.apache.kerberos.messages.ErrorMessage;
 import org.apache.kerberos.service.ErrorMessageHandler;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 public class TicketGrantingExceptionHandler extends ErrorMessageHandler
 {
+    private static final Logger log = LoggerFactory.getLogger( TicketGrantingExceptionHandler.class
);
+
     public boolean execute( Context context ) throws Exception
     {
         return CONTINUE_CHAIN;
@@ -35,6 +39,8 @@
         {
             return CONTINUE_CHAIN;
         }
+
+        log.debug( exception.getMessage() );
 
         TicketGrantingContext tgsContext = (TicketGrantingContext) context;
         KdcConfiguration config = tgsContext.getConfig();



Mime
View raw message