From f458bb38614598d24b26da86f7d6b7883846977e Mon Sep 17 00:00:00 2001 From: Sean Mullan Date: Mon, 17 Dec 2012 08:28:27 -0500 Subject: [PATCH] 8004234: Downgrade normative references to ${java.home}/lib/security/krb5.conf Reviewed-by: alanb, weijun --- .../javax/security/auth/kerberos/package.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/jdk/src/share/classes/javax/security/auth/kerberos/package.html b/jdk/src/share/classes/javax/security/auth/kerberos/package.html index 413f0ff28a4..2f8e92a5316 100644 --- a/jdk/src/share/classes/javax/security/auth/kerberos/package.html +++ b/jdk/src/share/classes/javax/security/auth/kerberos/package.html @@ -43,10 +43,15 @@ questions. You can provide the name of your default realm and Key Distribution Center (KDC) host for that realm using the system properties - java.security.krb5.realm and java.security.krb5.kdc. Alternatively, you - can provide an MIT style configuration file called krb5.conf in - <java-home>/lib/security. If you place this file elsewhere, you can - indicate that location via the system property java.security.krb5.conf.

+ {@code java.security.krb5.realm} and {@code java.security.krb5.kdc}. + Both properties must be set. + Alternatively, the {@code java.security.krb5.conf} system property can + be set to the location of an MIT style {@code krb5.conf} configuration + file. If none of these system properties are set, the {@code krb5.conf} + file is searched for in an implementation-specific manner. Typically, + an implementation will first look for a {@code krb5.conf} file in + {@code /lib/security} and failing that, in an OS-specific + location.