|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aselect.system.configmanager.ConfigManager
org.aselect.authspserver.config.AuthSPConfigManager
public class AuthSPConfigManager
The configuration manager for the A-Select AuthSP Server.
Description:
A singleton configuration manager, containing the A-Select AuthSP Server
configuration. It loads several settings in memory during initialize.
Concurrency issues:
-
| Method Summary | |
|---|---|
java.lang.String |
getErrorMessage(java.lang.String sKey,
java.util.Properties pErrors)
Retrieve error messsage from Properties. |
static AuthSPConfigManager |
getHandle()
Must be used to get an AuthSP ConfigManager instance. |
java.lang.String |
loadHTMLTemplate(java.lang.String sWorkingDir,
java.lang.String sFileName,
java.lang.String sConfigID,
java.lang.String sFriendlyName,
java.lang.String sVersion)
Loads a template from harddisk to the supplied sTemplate variable. |
| Methods inherited from class org.aselect.system.configmanager.ConfigManager |
|---|
getNextSection, getParam, getSection, getSection, importConfig, init, init, removeSection, removeSection, saveConfig, setParam, setSection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AuthSPConfigManager getHandle()
AuthSPConfigManager instance if it's still
null.
public java.lang.String loadHTMLTemplate(java.lang.String sWorkingDir,
java.lang.String sFileName,
java.lang.String sConfigID,
java.lang.String sFriendlyName,
java.lang.String sVersion)
throws ASelectException
sTemplate variable.
sWorkingDir\conf\sConfigID\html\
sFileName
sWorkingDir != nullsFileName must contain an existing filename and
may not be null
sWorkingDir - The working dir specified in the web.xml.sFileName - File name with extension of the template
that must be loaded.sConfigID - The configuration ID which is used
as (sub)directory name.sFriendlyName - The friendly name, used in the error form.sVersion - The name/version that is displayed in the error form.
ASelectException - if loading fails.
public java.lang.String getErrorMessage(java.lang.String sKey,
java.util.Properties pErrors)
Properties.
sKey - The error code.pErrors - The error properties.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||