| 构造器和说明 |
|---|
SecurityContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
install(Options options)
Installs security configuration.
|
static boolean |
isHadoopCommonOnClasspath(ClassLoader classLoader) |
static <T> T |
runSecured(Callable<T> securedCallable)
Run with installed context.
|
public static void install(Options options) throws Exception
Exceptionpublic static <T> T runSecured(Callable<T> securedCallable) throws Exception
Exceptionpublic static boolean isHadoopCommonOnClasspath(ClassLoader classLoader)
Copyright © 2023 The Apache Software Foundation. All rights reserved.