Class HadoopModule
- java.lang.Object
-
- org.apache.flink.runtime.security.modules.HadoopModule
-
- All Implemented Interfaces:
SecurityModule
public class HadoopModule extends Object implements SecurityModule
Responsible for installing a Hadoop login user.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.security.modules.SecurityModule
SecurityModule.SecurityInstallException
-
-
Constructor Summary
Constructors Constructor Description HadoopModule(SecurityConfiguration securityConfiguration, org.apache.hadoop.conf.Configuration hadoopConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityConfiguration
getSecurityConfig()
void
install()
Install the security module.void
uninstall()
Uninstall the security module.
-
-
-
Constructor Detail
-
HadoopModule
public HadoopModule(SecurityConfiguration securityConfiguration, org.apache.hadoop.conf.Configuration hadoopConfiguration)
-
-
Method Detail
-
getSecurityConfig
@VisibleForTesting public SecurityConfiguration getSecurityConfig()
-
install
public void install() throws SecurityModule.SecurityInstallException
Description copied from interface:SecurityModule
Install the security module.- Specified by:
install
in interfaceSecurityModule
- Throws:
SecurityModule.SecurityInstallException
- if the security module couldn't be installed.
-
uninstall
public void uninstall()
Description copied from interface:SecurityModule
Uninstall the security module.- Specified by:
uninstall
in interfaceSecurityModule
-
-