JDK-6785456 : Read Kerberos setting from Windows environment variables
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: org.ietf.jgss:krb5
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-12-16
  • Updated: 2011-03-07
  • Resolved: 2011-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b48Fixed
Description
We have to create krb5.ini on Windows to show what Kerberos realm and KDC should be used. In fact, on Windows, if the logon user is already a Windows AD account, two environment variables -- USERDNSDOMAIN, LOGONSERVER -- are created by the system for these 2 properties. We should use them when krb5.ini is missing.

These environment variables have been set since Windows 2000.

Comments
EVALUATION No regression test, need Windows AD Server setup. Will ask QE to see if they can test this in their environment.
03-02-2009

EVALUATION http://hg.openjdk.java.net/jdk7/tl/jdk/rev/ca32af4c0ea5
03-02-2009