client { com.sun.security.auth.module.Krb5LoginModule required principal="test"; }; server { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true storeKey=true keyTab=sample.keytab principal="host/machineName"; };