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 TypeMethodDescriptionvoid
close()
void
init()
Look at the DoY config file to decide which security system (if any) to use.static AMSecurityManager
instance()
static boolean
boolean
boolean
static void
setup()
-
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:
init
in interfaceAMSecurityManager
-
login
- Specified by:
login
in interfaceAMSecurityManager
-
close
public void close()- Specified by:
close
in interfaceAMSecurityManager
-
requiresLogin
public boolean requiresLogin()- Specified by:
requiresLogin
in interfaceAMSecurityManager
-
instance
-
isEnabled
public static boolean isEnabled()
-