public class HadoopModule extends Object implements SecurityModule
SecurityModule.SecurityInstallException
Constructor and Description |
---|
HadoopModule(SecurityConfiguration securityConfiguration,
Configuration hadoopConfiguration) |
Modifier and Type | Method and Description |
---|---|
SecurityConfiguration |
getSecurityConfig() |
void |
install()
Install the security module.
|
void |
uninstall()
Uninstall the security module.
|
public HadoopModule(SecurityConfiguration securityConfiguration, Configuration hadoopConfiguration)
@VisibleForTesting public SecurityConfiguration getSecurityConfig()
public void install() throws SecurityModule.SecurityInstallException
SecurityModule
install
in interface SecurityModule
SecurityModule.SecurityInstallException
- if the security module couldn't be installed.public void uninstall() throws SecurityModule.SecurityInstallException
SecurityModule
uninstall
in interface SecurityModule
SecurityModule.SecurityInstallException
- if the security module couldn't be uninstalled.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.