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