auth.cfg 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. com.apusic.security.ServerLogin {
  2. /*
  3. * This LoginModule is used to authenticate server principal.
  4. * You can set following options to customize this module:
  5. *
  6. * useTicketCache Set this to true, if you want the TGT
  7. * to be obtained from the ticket cache.
  8. * Set this option to false if you do not
  9. * want this module to use the ticket cache.
  10. *
  11. * ticketCache Set this to the name of the ticket cache
  12. * that contains user's TGT. If this is set,
  13. * useTicketCache must also be set to true.
  14. *
  15. * useKeyTab Set this to true if you want the module to
  16. * get the principal's key from the keytab.
  17. * If keytab is not set then the module will
  18. * locate the keytab from the Kerberos
  19. * configuration file.
  20. *
  21. * keyTab Set this to the file name of the keytab to get
  22. * principal's secret key. If this is set,
  23. * useKeyTab must also be set to true.
  24. *
  25. * storeKey Set this to true if you want the principal's
  26. * key to be stored in the Subject's private
  27. * credentials. This option is madatory, you
  28. * should not set it to false.
  29. */
  30. com.sun.security.auth.module.Krb5LoginModule required storeKey=true;
  31. };
  32. // The default login configuration used by server applications
  33. other {
  34. /*
  35. * A simple server login module, which retrieves principal and
  36. * credentials from current security context, and store them
  37. * into Subject's principal set and private credential set.
  38. */
  39. com.apusic.security.auth.login.ServerLoginModule required;
  40. };