-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b06
-
generic
-
os_x
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2229080 | 8 | Weijun Wang | P4 | Resolved | Fixed | b56 |
JDK-8018918 | 7u45 | Weijun Wang | P3 | Closed | Fixed | b01 |
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.
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.
- backported by
-
JDK-2229080 [macosx] Need to read Kerberos config in files
- Resolved
-
JDK-8018918 [macosx] Need to read Kerberos config in files
- Closed
- relates to
-
JDK-7184246 Simplify Config.get() of krb5
- Closed