sb.append( "\n\t" + "clockSkew " + clockSkew );
sb.append( "\n\t" + "clientAddress " + clientAddress );
KerberosPrincipal clientPrincipal = authContext.getClientEntry().getPrincipal();
PrincipalStoreEntry clientEntry = authContext.getClientEntry();
sb.append( "\n\t" + "principal " + clientPrincipal );
sb.append( "\n\t" + "cn " + clientEntry.getCommonName() );
sb.append( "\n\t" + "realm " + clientEntry.getRealmName() );
sb.append( "\n\t" + "principal " + clientEntry.getPrincipal() );
sb.append( "\n\t" + "SAM type " + clientEntry.getSamType() );
PrincipalName serverPrincipal = authContext.getRequest().getKdcReqBody().getSName();
PrincipalStoreEntry serverEntry = authContext.getServerEntry();
sb.append( "\n\t" + "principal " + serverPrincipal );
sb.append( "\n\t" + "cn " + serverEntry.getCommonName() );
sb.append( "\n\t" + "realm " + serverEntry.getRealmName() );
sb.append( "\n\t" + "principal " + serverEntry.getPrincipal() );
sb.append( "\n\t" + "SAM type " + serverEntry.getSamType() );
EncryptionType encryptionType = authContext.getEncryptionType();
int clientKeyVersion = clientEntry.getKeyMap().get( encryptionType ).getKeyVersion();
int serverKeyVersion = serverEntry.getKeyMap().get( encryptionType ).getKeyVersion();
sb.append( "\n\t" + "Request key type " + encryptionType );
sb.append( "\n\t" + "Client key version " + clientKeyVersion );
sb.append( "\n\t" + "Server key version " + serverKeyVersion );
String message = sb.toString();