Global configuration interface. Stores parameters valid for all divisions
and the division configuration itself.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
createDivisionData(int divisionId, String dataSource, String domainRegEx) Tests the database connection for the given dataSource JNDI name and returns a
DivisionData object with the current database vendor and version values.
Tests the database connection for the given dataSource JNDI name and returns a
DivisionData object with the current database vendor and version values.
Parameters: divisionId - the division ID Parameters: dataSource - the datasource JNDI path Parameters: domainRegEx - the regular expression used for matching domains the DivisionData object with database information
Returns the configuration data for a given division ID.
Parameters: division - the division ID. the configuration data for a given division ID. throws: FxApplicationException - TODO throws: FxLoadException - if an error occured reading the division configuration throws: FxNotFoundException - if the division was not found
Returns the first matching division for the given server name,
or -1 if no division was found.
Parameters: serverName - the server name to be matched the ID of the first division that matches throws: FxApplicationException - TODO throws: FxLoadException - if an error occured reading the division configuration
Return all configured division IDs.
all configured division IDs throws: FxApplicationException - TODO throws: FxLoadException - if an error occured reading the division configuration
Return the division data for all configured divisions.
division data for all configured divisions. throws: FxApplicationException - TODO throws: FxLoadException - if an error occured reading the division configuration
Get the SHA1-hashed root password.
the SHA1-hashed root password. throws: FxApplicationException - TODO throws: FxLoadException - if the parameter could not be loaded successfully throws: FxNotFoundException - if the root login is not set
Return true if the given plain-text password matches the stored
(and hashed) password.
Parameters: userPassword - the password to be checked true if the given plain-text password matches the stored(and hashed) password. throws: FxApplicationException - TODO throws: FxLoadException - if the root password could not be loaded throws: FxNotFoundException - if the root password is not set in the global configuration
Replaces the existing division configuration.
Parameters: divisions - the new division data throws: FxApplicationException - if the divisions could not be updated.
Set the root user name.
Parameters: value - the new root user name throws: FxApplicationException - TODO throws: FxUpdateException - if the user name could not be updated throws: FxNoAccessException - if the calling user is not permitted to change to root long
Set the root password.
Parameters: value - the root password in plain-text. throws: FxApplicationException - TODO throws: FxUpdateException - if the password could not be updated throws: FxNoAccessException - if the calling user is not permitted to change the password