You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2014/04/25 07:40:10 UTC

svn commit: r1589928 - /directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java

Author: kayyagari
Date: Fri Apr 25 05:40:10 2014
New Revision: 1589928

URL: http://svn.apache.org/r1589928
Log:
set the start time in ticket (it was incorrectly enclosed in a if block)

Modified:
    directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java

Modified: directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java?rev=1589928&r1=1589927&r2=1589928&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java (original)
+++ directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java Fri Apr 25 05:40:10 2014
@@ -535,9 +535,10 @@ public class AuthenticationService
 
             ticketFlags.setFlag( TicketFlag.POSTDATED );
             ticketFlags.setFlag( TicketFlag.INVALID );
-            encTicketPart.setStartTime( startTime );
         }
 
+        encTicketPart.setStartTime( startTime );
+        
         long till = 0;
 
         if ( request.getKdcReqBody().getTill().getTime() == 0 )