KerberosTime timeStamp = new KerberosTime( 0 );
String passPhrase = "secret";
PaData[] paDatas = getPreAuthEncryptedTimeStamp( clientPrincipal, passPhrase, timeStamp, config.getEncryptionTypes() );
KdcReq message = new AsReq();
message.setKdcReqBody( kdcReqBody );
for ( PaData paData : paDatas )
{
message.addPaData( paData );
}
handler.messageReceived( session, message );
Object msg = session.getMessage();