public void readUsers(String fileName) { try { InputStream userIs = ConfigFinder.getInstance().open(fileName); if (userIs != null) { if (_log.isInfoEnabled()) { _log.info("Reading users file..."); } readUsers(userIs); } else { if (_log.isInfoEnabled()) { _log.info("UserFile.xml does not exist -- no users or role"); } } } catch (Exception e) { if (_log.isWarnEnabled()) { _log.warn("Couldn't load users from file: ", e); } } }
protected ConfigFinder getConfigFinder() { return ConfigFinder.getInstance(); }