Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7184815

[macosx] Need to read Kerberos config in files

XMLWordPrintable

    • b06
    • generic
    • os_x
    • Verified

        On Mac since Lion, sun.security.krb5.Config tries to locate the config info in this order:

        1. java.security.krb5.conf system property
        2. ${jre}/lib/security/krb5.conf
        3. SCDynamicStoreConfig

        The main difference from other platforms is that it will not try config files, say, /Library/Preferences/edu.mit.Kerberos or /etc/krb5.conf.

        On the other hand, even /usr/bin/kinit comes with Lion reads the config file (if there is no SCDynamicStoreConfig setting).

        It seems perfectly reasonable that if there are no SCDynamicStoreConfig entries, falling back to reading the legacy config files may be a valid option.

              weijun Weijun Wang
              weijun Weijun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: