directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: rev 56894 - incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/kdc
Date Mon, 08 Nov 2004 03:20:54 GMT
Author: erodriguez
Date: Sun Nov  7 19:20:54 2004
New Revision: 56894

Modified:
   incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/kdc/AuthenticationService.java
Log:
Authentication Service with some debugging help.

Modified: incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/kdc/AuthenticationService.java
==============================================================================
--- incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/kdc/AuthenticationService.java
(original)
+++ incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/kdc/AuthenticationService.java
Sun Nov  7 19:20:54 2004
@@ -44,6 +44,9 @@
 	public AuthenticationReply getReplyFor(KdcRequest request) throws KerberosException {
 		
 		KerberosPrincipal clientPrincipal = request.getClientPrincipal();
+
+        System.out.println(clientPrincipal.getName());
+
 		EncryptionKey clientKey;
 		try {
 			PrincipalStoreEntry clientEntry = _bootstrap.getEntry(clientPrincipal);
@@ -53,10 +56,14 @@
 				clientKey = _store.getEntry(clientPrincipal).getEncryptionKey();
 			}
 		} catch (Exception e) {
+            e.printStackTrace();
 			throw KerberosException.KDC_ERR_C_PRINCIPAL_UNKNOWN;
 		}
 		
 		KerberosPrincipal serverPrincipal = request.getServerPrincipal();
+
+        System.out.println(serverPrincipal.getName());
+
 		EncryptionKey serverKey;
 		try {
 			PrincipalStoreEntry serverEntry = _bootstrap.getEntry(serverPrincipal);
@@ -66,6 +73,7 @@
 				serverKey = _store.getEntry(serverPrincipal).getEncryptionKey();
 			}
 		} catch (Exception e) {
+            e.printStackTrace();
 			throw KerberosException.KDC_ERR_S_PRINCIPAL_UNKNOWN;
 		}
 		

Mime
View raw message