Class AMSecurityManagerImpl
java.lang.Object
org.apache.drill.yarn.appMaster.http.AMSecurityManagerImpl
- All Implemented Interfaces:
AMSecurityManager
Implements the three supported AM security models: Drill,
hard-coded user and password, and open access.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit()Look at the DoY config file to decide which security system (if any) to use.static AMSecurityManagerinstance()static booleanbooleanbooleanstatic voidsetup()
-
Method Details
-
setup
public static void setup() -
init
public void init()Look at the DoY config file to decide which security system (if any) to use.- Specified by:
initin interfaceAMSecurityManager
-
login
- Specified by:
loginin interfaceAMSecurityManager
-
close
public void close()- Specified by:
closein interfaceAMSecurityManager
-
requiresLogin
public boolean requiresLogin()- Specified by:
requiresLoginin interfaceAMSecurityManager
-
instance
-
isEnabled
public static boolean isEnabled()
-