public class SecurityConfiguration extends Object
See SecurityOptions
for corresponding configuration options.
Constructor and Description |
---|
SecurityConfiguration(Configuration flinkConf)
Create a security configuration from the global configuration.
|
SecurityConfiguration(Configuration flinkConf,
List<String> securityContextFactory,
List<String> securityModuleFactories)
Create a security configuration from the global configuration.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
getFlinkConfig() |
String |
getKeytab() |
List<String> |
getLoginContextNames() |
String |
getPrincipal() |
List<String> |
getSecurityContextFactories() |
List<String> |
getSecurityModuleFactories() |
String |
getZooKeeperLoginContextName() |
String |
getZooKeeperServiceName() |
boolean |
isZkSaslDisable() |
boolean |
useTicketCache() |
public SecurityConfiguration(Configuration flinkConf)
flinkConf
- the Flink global configuration.public SecurityConfiguration(Configuration flinkConf, List<String> securityContextFactory, List<String> securityModuleFactories)
flinkConf
- the Flink global configuration.securityModuleFactories
- the security modules to apply.public boolean isZkSaslDisable()
public String getKeytab()
public String getPrincipal()
public boolean useTicketCache()
public Configuration getFlinkConfig()
public String getZooKeeperServiceName()
public String getZooKeeperLoginContextName()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.