kerberos

package
v0.0.0-...-f04a6dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KRB5_DEFAULT_CONFIG = "/etc/krb5.conf"
)

Variables

This section is empty.

Functions

func GetKrb5ConfFromJavaOpts

func GetKrb5ConfFromJavaOpts(javaOpts map[string]interface{}) string

GetKrb5ConfFromJavaOpts extracts the path to the Kerberos configuration file from the Java configuration options This function searches for configuration values in java.security.krb5.conf in the following order of priority: 1. First search for the configuration in JAVA_OPTS_FOR_JDK_17 (JDK17 specific configuration) 2. If not found, search for the general JAVA_OPTS configuration 3. If none is found, return the default value "/etc/krb5.conf" This behavior is documented: https://doris.apache.org/docs/3.0/lakehouse/datalake-analytics/hive?_highlight=kerberos_krb5_conf_path#connect-to-kerberos-enabled-hive

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL