String realm = commandLine.getOptionValue(BASIC_AUTH_REALM);
String user = commandLine.getOptionValue(CONSOLE_USER);
String password = commandLine.getOptionValue(CONSOLE_PASSWORD);
String curatorUser = commandLine.getOptionValue(CURATOR_USER);
String curatorPassword = commandLine.getOptionValue(CURATOR_PASSWORD);
SecurityHandler handler = null;
if ( notNullOrEmpty(realm) && notNullOrEmpty(user) && notNullOrEmpty(password) && notNullOrEmpty(curatorUser) && notNullOrEmpty(curatorPassword) )
{
log.warn(Joiner.on(", ").join(BASIC_AUTH_REALM, CONSOLE_USER, CONSOLE_PASSWORD, CURATOR_USER, CURATOR_PASSWORD) + " - have been deprecated. Use TBD instead");
handler = makeSecurityHandler(realm, user, password, curatorUser, curatorPassword);
}