/** * Initializes the static BackendSecuritySpec instance. * * @throws BackendSecurityParserException * If an error occurs in attempting to parse the beSecurity * configuration file. */ public void setBackendSecuritySpec() throws BackendSecurityParserException { beSS = parseBeSecurity(); }
throw new ModuleInitializationException("[DefaultBackendSecurity] Module failed to initialize: " + "FEDORA_HOME is undefined", getRole()); } else { m_beSecurityPath = fedoraHome + "/server/config/beSecurity.xml"; String validate = getParameter("beSecurity_validation"); if (validate != null) { if (!validate.equals("true") && !validate.equals("false")) { m_encoding = getParameter("beSecurity_char_encoding"); if (m_encoding == null) { m_encoding = "utf-8"; setBackendSecuritySpec(); if (logger.isDebugEnabled()) { Set<String> roleList = beSS.listRoleKeys(); + "could not be instantiated. The underlying error was a " + th.getClass().getName() + "The message was \"" + th.getMessage() + "\".", getRole());
throw new ModuleInitializationException("[DefaultBackendSecurity] Module failed to initialize: " + "FEDORA_HOME is undefined", getRole()); } else { m_beSecurityPath = fedoraHome + "/server/config/beSecurity.xml"; String validate = getParameter("beSecurity_validation"); if (validate != null) { if (!validate.equals("true") && !validate.equals("false")) { m_encoding = getParameter("beSecurity_char_encoding"); if (m_encoding == null) { m_encoding = "utf-8"; setBackendSecuritySpec(); if (logger.isDebugEnabled()) { Set<String> roleList = beSS.listRoleKeys(); + "could not be instantiated. The underlying error was a " + th.getClass().getName() + "The message was \"" + th.getMessage() + "\".", getRole());
/** * Initializes the static BackendSecuritySpec instance. * * @throws BackendSecurityParserException * If an error occurs in attempting to parse the beSecurity * configuration file. */ public void setBackendSecuritySpec() throws BackendSecurityParserException { beSS = parseBeSecurity(); }
/** * Re-initializes the static backendSecuritySpec instance by rereading the * beSecurity configurationfile. This method is used to refresh the * beSecurity configuration on the server when changes have been made to the * configuration file. * * @throws BackendSecurityParserException * If an error occurs in attempting to parse the beSecurity * configuration file. */ public BackendSecuritySpec reloadBeSecurity() throws BackendSecurityParserException { return parseBeSecurity(); }
/** * Re-initializes the static backendSecuritySpec instance by rereading the * beSecurity configurationfile. This method is used to refresh the * beSecurity configuration on the server when changes have been made to the * configuration file. * * @throws BackendSecurityParserException * If an error occurs in attempting to parse the beSecurity * configuration file. */ public BackendSecuritySpec reloadBeSecurity() throws BackendSecurityParserException { return parseBeSecurity(); }