public class SecurityUtils extends Object
Modifier and Type | Method and Description |
---|---|
static SecurityContext |
getInstalledContext() |
static List<SecurityModule> |
getInstalledModules() |
static void |
install(SecurityConfiguration config)
Installs a process-wide security configuration.
|
public static SecurityContext getInstalledContext()
public static List<SecurityModule> getInstalledModules()
public static void install(SecurityConfiguration config) throws Exception
Applies the configuration using the available security modules (i.e. Hadoop, JAAS).
Exception
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.