public class HadoopSecurityContextFactory extends Object implements SecurityContextFactory
SecurityContext based on installed
modules, it would instantiate HadoopSecurityContext if a HadoopModuleFactory is
included.| Constructor and Description |
|---|
HadoopSecurityContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
SecurityContext |
createContext(SecurityConfiguration securityConfig)
create security context.
|
boolean |
isCompatibleWith(SecurityConfiguration securityConfig)
Check if this factory is compatible with the security configuration.
|
public boolean isCompatibleWith(SecurityConfiguration securityConfig)
SecurityContextFactorySpecific implementation must override this to provide compatibility check, by default it
will always return false.
isCompatibleWith in interface SecurityContextFactorysecurityConfig - security configurations.true if factory is compatible with the configuration.public SecurityContext createContext(SecurityConfiguration securityConfig) throws SecurityContextInitializeException
SecurityContextFactorycreateContext in interface SecurityContextFactorysecurityConfig - security configuration used to create context.SecurityContextInitializeExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.