private static final String ACL_NODE = "/global/acl/console_admins";
private static boolean authenticateLock() throws Exception {
ZKSessionManager.initialize(Daemon.propMIST.getProperty("mistd.zookeeper") + Daemon.propMIST.getProperty("mistd.zookeeper.tmeroot"), Integer.valueOf(Daemon.propMIST.getProperty("mistd.zookeeper.timeout")));
ZKSessionManager zksm = ZKSessionManager.instance();
zksm.waitConnected();
ZNode authNode = new ZNode(ACL_NODE);
if(authNode.exists()) {
LoginContext lc = new LoginContext("ldaploginmodule", new CallbackHandler() {