This commit is contained in:
Rohit Choudhary 2016-07-14 11:49:43 +05:30
parent 3648a1c19d
commit f6af0f6826
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ public class ShellInterpreter extends Interpreter {
LOGGER.info("Command timeout property: {}", getProperty(TIMEOUT_PROPERTY));
executors = new HashMap<String, DefaultExecutor>();
if (!StringUtils.isAnyEmpty(getProperty("zeppelin.shell.auth.type"))) {
ShellSecurityImpl.createSecureCinfiguration(getProperty(), shell);
ShellSecurityImpl.createSecureConfiguration(getProperty(), shell);
}
}

View file

@ -33,7 +33,7 @@ public class ShellSecurityImpl {
private static Logger LOGGER = LoggerFactory.getLogger(ShellSecurityImpl.class);
public static void createSecureCinfiguration(Properties properties, String shell) {
public static void createSecureConfiguration(Properties properties, String shell) {
String authType = properties.getProperty("zeppelin.shell.auth.type")
.trim().toUpperCase();