Class JaasModule

java.lang.Object
org.apache.flink.runtime.security.modules.JaasModule
All Implemented Interfaces:
SecurityModule

@Internal public class JaasModule extends Object implements SecurityModule
Responsible for installing a process-wide JAAS configuration.

The installed configuration combines login modules based on: - the user-supplied JAAS configuration file, if any - a Kerberos keytab, if configured - any cached Kerberos credentials from the current environment

The module also installs a default JAAS config file (if necessary) for compatibility with ZK and Kafka. Note that the JRE actually draws on numerous file locations. See: https://docs.oracle.com/javase/7/docs/jre/api/security/jaas/spec/com/sun/security/auth/login/ConfigFile.html See: https://github.com/apache/kafka/blob/0.9.0/clients/src/main/java/org/apache/kafka/common/security/kerberos/Login.java#L289