directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: rev 57032 - incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/kdc
Date Tue, 09 Nov 2004 12:52:21 GMT
Author: erodriguez
Date: Tue Nov  9 04:52:20 2004
New Revision: 57032

Modified:
   incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/kdc/TicketGrantingService.java
Log:
Uncommented ticket verification.  Accidentally had it commented out for testing.

Modified: incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/kdc/TicketGrantingService.java
==============================================================================
--- incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/kdc/TicketGrantingService.java
(original)
+++ incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/kdc/TicketGrantingService.java
Tue Nov  9 04:52:20 2004
@@ -198,12 +198,12 @@
 		return authenticator;
 	}
 	
-	private void verifyTicket(Ticket ticket, KerberosPrincipal serverPrincipal)
-			throws KerberosException {
-		/*
+	private void verifyTicket( Ticket ticket, KerberosPrincipal serverPrincipal )
+			throws KerberosException
+    {
 		if (!ticket.getRealm().equals(_config.getPrimaryRealm()) &&
 				!ticket.getServerPrincipal().equals(serverPrincipal))
-			throw KerberosException.KRB_AP_ERR_NOT_US;*/
+			throw KerberosException.KRB_AP_ERR_NOT_US;
 	}
 	
 	// TODO - configurable checksum

Mime
View raw message