Skip to content

Commit 0dffedc

Browse files
committed
Add SystemProperties.JAVA_SECURITY_KERBEROS_CONF
- Add SystemProperties.JAVA_SECURITY_KERBEROS_KDC - Add SystemProperties.JAVA_SECURITY_KERBEROS_REAL
1 parent 106b61a commit 0dffedc

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

Diff for: src/changes/changes.xml

+3
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ The <action> type attribute can be add,update,fix,remove.
112112
<action type="add" dev="ggregory" due-to="Gary Gregory">Add SystemUtils.getUserHomePath().</action>
113113
<action type="add" dev="ggregory" due-to="Gary Gregory">Add ArrayFill.fill(T[], FailableIntFunction)).</action>
114114
<action type="add" dev="ggregory" due-to="Gary Gregory">Add SystemProperties.JAVA_SECURITY_DEBUG.</action>
115+
<action type="add" dev="ggregory" due-to="Gary Gregory">Add SystemProperties.JAVA_SECURITY_KERBEROS_CONF.</action>
116+
<action type="add" dev="ggregory" due-to="Gary Gregory">Add SystemProperties.JAVA_SECURITY_KERBEROS_KDC.</action>
117+
<action type="add" dev="ggregory" due-to="Gary Gregory">Add SystemProperties.JAVA_SECURITY_KERBEROS_REAL.</action>
115118
<!-- UPDATE -->
116119
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 73 to 81 #1267, #1277, #1283, #1288, #1302.</action>
117120
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">[site] Bump org.codehaus.mojo:taglist-maven-plugin from 3.1.0 to 3.2.1 #1300.</action>

Diff for: src/main/java/org/apache/commons/lang3/SystemProperties.java

+33
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,39 @@ public final class SystemProperties {
505505
*/
506506
public static final String JAVA_SECURITY_AUTH_LOGIN_CONFIG = "java.security.auth.login.config";
507507

508+
/**
509+
* The System property name {@value}.
510+
*
511+
* @see <a href= "https://docs.oracle.com/en/java/javase/24/docs/api/system-properties.html">java.security.krb5.conf</a>
512+
* @see <a href=
513+
* "https://docs.oracle.com/en/java/javase/24/docs/api/java.security.jgss/javax/security/auth/kerberos/package-summary.html#java.security.krb5.conf">package
514+
* javax.security.auth.kerberos conf</a>
515+
* @since 3.18.0
516+
*/
517+
public static final String JAVA_SECURITY_KERBEROS_CONF = "java.security.krb5.conf";
518+
519+
/**
520+
* The System property name {@value}.
521+
*
522+
* @see <a href= "https://docs.oracle.com/en/java/javase/24/docs/api/system-properties.html">java.security.krb5.kdc</a>
523+
* @see <a href=
524+
* "https://docs.oracle.com/en/java/javase/24/docs/api/java.security.jgss/javax/security/auth/kerberos/package-summary.html#java.security.krb5.kdc">package
525+
* javax.security.auth.kerberos KDC</a>
526+
* @since 3.18.0
527+
*/
528+
public static final String JAVA_SECURITY_KERBEROS_KDC = "java.security.krb5.kdc";
529+
530+
/**
531+
* The System property name {@value}.
532+
*
533+
* @see <a href= "https://docs.oracle.com/en/java/javase/24/docs/api/system-properties.html">java.security.krb5.realm</a>
534+
* @see <a href=
535+
* "https://docs.oracle.com/en/java/javase/24/docs/api/java.security.jgss/javax/security/auth/kerberos/package-summary.html#java.security.krb5.realm">package
536+
* javax.security.auth.kerberos realm</a>
537+
* @since 3.18.0
538+
*/
539+
public static final String JAVA_SECURITY_KERBEROS_REALM = "java.security.krb5.realm";
540+
508541
/**
509542
* The System property name {@value}.
510543
*

Diff for: src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ public void testActualKeys() {
108108
basicKeyCheck(SystemProperties.JAVA_RUNTIME_NAME);
109109
basicKeyCheck(SystemProperties.JAVA_RUNTIME_VERSION);
110110
basicKeyCheck(SystemProperties.JAVA_SECURITY_AUTH_LOGIN_CONFIG);
111+
basicKeyCheck(SystemProperties.JAVA_SECURITY_KERBEROS_CONF);
112+
basicKeyCheck(SystemProperties.JAVA_SECURITY_KERBEROS_KDC);
113+
basicKeyCheck(SystemProperties.JAVA_SECURITY_KERBEROS_REALM);
111114
basicKeyCheck(SystemProperties.JAVA_SECURITY_DEBUG);
112115
basicKeyCheck(SystemProperties.JAVA_SECURITY_MANAGER);
113116
basicKeyCheck(SystemProperties.JAVA_SPECIFICATION_MAINTENANCE_VERSION);

0 commit comments

Comments
 (0)