J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | /** |
| 2 | * Login Configuration for JAAS. |
| 3 | * |
| 4 | * Specify that Kerberos v5 is a required login module for the |
| 5 | * example classes: GssExample and Mutual. |
| 6 | */ |
| 7 | other { |
| 8 | com.sun.security.auth.module.Krb5LoginModule required; |
| 9 | }; |
| 10 | |
| 11 | client { |
| 12 | com.sun.security.auth.module.Krb5LoginModule required |
| 13 | principal="john@IMC.ORG"; |
| 14 | }; |
| 15 | server { |
| 16 | com.sun.security.auth.module.Krb5LoginModule required storeKey=true |
| 17 | principal="sample/machineX.imc.org@IMC.ORG" |
| 18 | useKeyTab=true |
| 19 | keyTab=machineX.keytab; |
| 20 | }; |
| 21 | |