KdcOptions kdcOptions = new KdcOptions();
kdcReqBody.setKdcOptions( kdcOptions );
long currentTime = System.currentTimeMillis();
KerberosTime requestedEndTime = new KerberosTime( currentTime + KerberosTime.DAY );
kdcReqBody.setTill( requestedEndTime );
// Get the session key from the service ticket.
sessionKey = tgt.getEncTicketPart().getKey();
// Generate a new sequence number.
sequenceNumber = random.nextInt();
now = new KerberosTime();
KdcReq message = new TgsReq();
message.setKdcReqBody( kdcReqBody );
handler.messageReceived( session, message );