22 lines
487 B
Plaintext
22 lines
487 B
Plaintext
/**
|
|
* Login Configuration for JAAS.
|
|
*
|
|
* Specify that Kerberos v5 is a required login module for the
|
|
* example classes: GssExample and Mutual.
|
|
*/
|
|
other {
|
|
com.sun.security.auth.module.Krb5LoginModule required;
|
|
};
|
|
|
|
client {
|
|
com.sun.security.auth.module.Krb5LoginModule required
|
|
principal="john@IMC.ORG";
|
|
};
|
|
server {
|
|
com.sun.security.auth.module.Krb5LoginModule required storeKey=true
|
|
principal="sample/machineX.imc.org@IMC.ORG"
|
|
useKeyTab=true
|
|
keyTab=machineX.keytab;
|
|
};
|
|
|