|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.config.ConfigWebAdmin
public final class ConfigWebAdmin
Method Summary | |
---|---|
void |
createSecurityManager(String id)
creates a individual security manager based on the default security manager |
static boolean |
fixPSQ(Document doc)
|
static boolean |
fixS3(Document doc)
|
String |
getDefaultPassword()
|
Query |
getResourceProviders()
|
static ConfigWebAdmin |
newInstance(ConfigImpl config,
String password)
|
void |
removeCacheConnection(String name)
|
void |
removeCacheDefaultConnection(int type)
|
void |
removeCacheGatewayEntry(String name)
|
void |
removeCFX(String name)
remove a CFX Tag |
void |
removeComponentMapping(String virtual)
|
void |
removeCustomTag(String virtual)
delete a customtagmapping on system |
void |
removeDataSource(String name)
remove a DataSource Connection |
void |
removeDefaultPassword()
|
void |
removeExtension(String provider,
String id)
|
void |
removeExtensionProvider(String strUrl)
|
void |
removeFLD(String name)
|
void |
removeJar(String strNames)
|
void |
removeLatestUpdate()
run update from cfml engine |
void |
removeMailServer(String hostName)
removes a mailserver from system |
void |
removeMapping(String virtual)
delete a mapping on system |
void |
removeMonitor(String name)
|
void |
removeRemoteClient(String url)
|
void |
removeRemoteClientUsage(String code)
|
void |
removeResourceProvider(Class clazz)
|
void |
removeSecurityManager(String id)
remove security manager matching given id |
void |
removeTLD(String name)
|
void |
removeUpdate()
|
void |
resetId()
|
void |
resetORMSetting()
|
void |
restart()
run update from cfml engine |
void |
runUpdate()
run update from cfml engine |
void |
setMailDefaultCharset(String charset)
sets the charset for the mail |
void |
setMailLog(String logFile,
String level)
sets Mail Logger to Config |
void |
setMailSpoolEnable(Boolean spoolEnable)
sets if spool is enable or not |
void |
setMailSpoolInterval(Integer interval)
sets if er interval is enable or not |
void |
setMailTimeout(Integer timeout)
sets the timeout for the spooler for one job |
static void |
setPassword(ConfigImpl config,
boolean isServer,
String passwordOld,
String passwordNew)
|
void |
setPassword(String password)
|
void |
setPassword(String contextPath,
String password)
|
void |
setVersion(double version)
|
Object |
storageGet(Config config,
String key)
|
void |
storageSet(Config config,
String key,
Object value)
|
void |
store()
store changes back to railo xml |
void |
updateAdminSyncClass(String classname)
|
void |
updateAllowCompression(Boolean value)
|
void |
updateAllowImplicidQueryCall(Boolean allow)
sets if allowed implicid query call |
void |
updateAllowURLRequestTimeout(Boolean allowURLRequestTimeout)
|
void |
updateApplicationListener(String type,
String mode)
|
void |
updateApplicationTimeout(TimeSpan span)
updates request timeout value |
void |
updateBaseComponent(String baseComponent)
update the baseComponent |
void |
updateCacheConnection(String name,
String classname,
int _default,
Struct custom,
boolean readOnly,
boolean storage)
|
void |
updateCacheDefaultConnection(int type,
String name)
|
void |
updateClientCookies(Boolean clientCookies)
set if client cookies are enabled or not |
void |
updateClientManagement(Boolean clientManagement)
enable or desable client management |
void |
updateClientTimeout(TimeSpan span)
updates session timeout value |
void |
updateClusterClass(String classname)
|
void |
updateComponentDataMemberDefaultAccess(String strAccess)
update the Component Data Member default access type |
void |
updateComponentDeepSearch(Boolean deepSearch)
|
void |
updateComponentDefaultImport(String componentDefaultImport)
|
void |
updateComponentDumpTemplate(String template)
updates the DebugTemplate |
void |
updateComponentLocalSearch(Boolean componentLocalSearch)
|
void |
updateComponentMapping(String virtual,
String physical,
String archive,
String primary,
boolean trusted)
|
void |
updateComponentPathCache(Boolean componentPathCache)
|
void |
updateComponentUseShadow(Boolean useShadow)
|
void |
updateContentLength(Boolean value)
|
void |
updateCPPCFX(String name,
String procedure,
String strServerLibrary,
boolean keepAlive)
|
void |
updateCTPathCache(Boolean ctPathCache)
|
void |
updateCustomTag(String virtual,
String physical,
String archive,
String primary,
boolean trusted)
insert or update a mapping for Custom Tag |
void |
updateCustomTagDeepSearch(boolean customTagDeepSearch)
|
void |
updateCustomTagExtensions(String extensions)
|
void |
updateCustomTagLocalSearch(boolean customTagLocalSearch)
|
void |
updateDataSource(String name,
String newName,
String clazzName,
String dsn,
String username,
String password,
String host,
String database,
int port,
int connectionLimit,
int connectionTimeout,
long metaCacheTimeout,
boolean blob,
boolean clob,
int allow,
boolean validate,
boolean storage,
String timezone,
Struct custom)
update or insert new database connection |
void |
updateDebug(Boolean debug)
updates if debugging or not |
void |
updateDebugShowQueryUsage(Boolean showQueryUsage)
|
void |
updateDebugTemplate(String template)
updates the DebugTemplate |
void |
updateDefaultPassword(String password)
|
void |
updateDefaultResourceProvider(Class clazz,
String arguments)
|
void |
updateDefaultSecurity(short setting,
short file,
Resource[] fileAccess,
short directJavaAccess,
short mail,
short datasource,
short mapping,
short remote,
short customTag,
short cfxSetting,
short cfxUsage,
short debugging,
short search,
short scheduledTasks,
short tagExecute,
short tagImport,
short tagObject,
short tagRegistry,
short cache,
short gateway,
short orm,
short accessRead,
short accessWrite)
|
void |
updateDomaincookies(Boolean domainCookies)
set if domain cookies are enabled or not |
void |
updateErrorStatusCode(Boolean doStatusCode)
|
void |
updateErrorTemplate(int statusCode,
String template)
updates the ErrorTemplate |
void |
updateExtension(Extension extension)
|
void |
updateExtensionInfo(boolean enabled)
|
void |
updateExtensionProvider(String strUrl)
|
void |
updateFLD(Resource resFld)
|
void |
updateGatewayEntry(String id,
String className,
String cfcPath,
String listenerCfcPath,
int startupMode,
Struct custom,
boolean readOnly)
|
void |
updateInspectTemplate(String str)
|
void |
updateJar(Resource resJar)
|
void |
updateJavaCFX(String name,
String strClass)
insert or update a Java CFX Tag |
boolean |
updateLabel(String hash,
String label)
|
void |
updateLD(Resource dir,
Resource res)
|
void |
updateLocale(String locale)
update the locale |
void |
updateLocalMode(String mode)
|
void |
updateLoginSettings(boolean captcha,
int delay)
|
void |
updateLogSettings(String name,
int level,
String virtualpath,
int maxfile,
int maxfilesize)
|
void |
updateMailServer(String hostName,
String username,
String password,
int port,
boolean tls,
boolean ssl)
insert or update a mailserver on system |
void |
updateMapping(String virtual,
String physical,
String archive,
String primary,
boolean trusted,
boolean toplevel)
insert or update a mapping on system |
void |
updateMergeFormAndUrl(Boolean merge)
|
void |
updateMonitor(String className,
String type,
String name,
boolean logEnabled)
|
void |
updateMonitorEnabled(boolean updateMonitorEnabled)
|
void |
updateORMSetting(ORMConfiguration oc)
|
void |
updateProxy(boolean enabled,
String server,
int port,
String username,
String password)
|
void |
updatePSQ(Boolean psq)
update PSQ State |
void |
updateRemoteClient(String label,
String url,
String type,
String securityKey,
String usage,
String adminPassword,
String serverUsername,
String serverPassword,
String proxyServer,
String proxyUsername,
String proxyPassword,
String proxyPort)
|
void |
updateRemoteClientUsage(String code,
String displayname)
|
void |
updateRequestTimeout(TimeSpan span)
updates request timeout value |
void |
updateResourceCharset(String charset)
|
void |
updateResourceProvider(String scheme,
Class clazz,
String arguments)
|
void |
updateResourceProvider(String scheme,
Class clazz,
Struct arguments)
|
void |
updateScopeCascadingType(short type)
sets the scope cascading type |
void |
updateScopeCascadingType(String type)
sets the scope cascading type |
void |
updateScriptProtect(int scriptProtect)
|
void |
updateScriptProtect(String strScriptProtect)
|
void |
updateSecurity(String id,
short setting,
short file,
Resource[] fileAccess,
short directJavaAccess,
short mail,
short datasource,
short mapping,
short remote,
short customTag,
short cfxSetting,
short cfxUsage,
short debugging,
short search,
short scheduledTasks,
short tagExecute,
short tagImport,
short tagObject,
short tagRegistry,
short cache,
short gateway,
short orm,
short accessRead,
short accessWrite)
update a security manager that match the given id |
void |
updateSerial(String serial)
|
void |
updateSessionManagement(Boolean sessionManagement)
enable or desable session management |
void |
updateSessionTimeout(TimeSpan span)
updates session timeout value |
void |
updateSessionType(String type)
session type update |
void |
updateShowVersion(Boolean value)
|
void |
updateSuppressContent(Boolean value)
|
void |
updateSuppressWhitespace(Boolean value)
|
void |
updateTemplateCharset(String charset)
|
void |
updateTimeServer(String timeServer,
Boolean useTimeServer)
update the timeServer |
void |
updateTimeZone(String timeZone)
update the timeZone |
void |
updateTLD(Resource resTld)
|
void |
updateTriggerDataMember(Boolean triggerDataMember)
update the Component Data Member default access type |
void |
updateUpdate(String type,
String location)
updates update settingd for railo |
void |
updateVideoExecuterClass(String classname)
|
void |
updateWebCharset(String charset)
|
void |
verifyCFX(String name)
|
void |
verifyExtensionProvider(String strUrl)
|
void |
verifyJavaCFX(String name,
String strClass)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ConfigWebAdmin newInstance(ConfigImpl config, String password) throws SAXException, IOException
config
- password
-
SAXException
IOException
public static void setPassword(ConfigImpl config, boolean isServer, String passwordOld, String passwordNew) throws PageException, SAXException, ClassException, IOException, TagLibException, FunctionLibException
config
- isServer
- passwordOld
- passwordNew
-
SAXException
IOException
FunctionLibException
TagLibException
ClassNotFoundException
PageException
ClassException
public void setPassword(String password) throws SecurityException
password
-
ExpressionException
SecurityException
public void setVersion(double version)
public void setPassword(String contextPath, String password) throws PageException, SAXException, ClassException, IOException, TagLibException, FunctionLibException
contextPath
- password
-
FunctionLibException
TagLibException
IOException
ClassNotFoundException
SAXException
PageException
ClassException
public void store() throws PageException, SAXException, ClassException, IOException, TagLibException, FunctionLibException
PageException
SAXException
ClassNotFoundException
IOException
TagLibException
FunctionLibException
ClassException
public void setMailLog(String logFile, String level) throws PageException
logFile
- level
-
PageException
public void setMailSpoolEnable(Boolean spoolEnable) throws SecurityException
spoolEnable
-
SecurityException
public void setMailSpoolInterval(Integer interval) throws SecurityException
interval
-
SecurityException
public void setMailTimeout(Integer timeout) throws SecurityException
timeout
-
SecurityException
public void setMailDefaultCharset(String charset) throws PageException
timeout
-
SecurityException
PageException
public void updateMailServer(String hostName, String username, String password, int port, boolean tls, boolean ssl) throws PageException
hostName
- username
- password
- port
- ssl
- tls
-
PageException
public void removeMailServer(String hostName) throws SecurityException
hostName
-
SecurityException
public void updateMapping(String virtual, String physical, String archive, String primary, boolean trusted, boolean toplevel) throws ExpressionException, SecurityException
virtual
- physical
- archive
- primary
- trusted
- toplevel
-
ExpressionException
SecurityException
public void removeMapping(String virtual) throws ExpressionException, SecurityException
virtual
-
ExpressionException
SecurityException
public void removeCustomTag(String virtual) throws SecurityException
virtual
-
SecurityException
public void removeComponentMapping(String virtual) throws SecurityException
SecurityException
public void updateCustomTag(String virtual, String physical, String archive, String primary, boolean trusted) throws ExpressionException, SecurityException
virtual
- physical
- archive
- primary
- trusted
-
ExpressionException
SecurityException
public void updateComponentMapping(String virtual, String physical, String archive, String primary, boolean trusted) throws ExpressionException, SecurityException
ExpressionException
SecurityException
public void updateJavaCFX(String name, String strClass) throws PageException
name
- strClass
-
PageException
public void updateCPPCFX(String name, String procedure, String strServerLibrary, boolean keepAlive) throws PageException
PageException
public static boolean fixPSQ(Document doc) throws SecurityException
SecurityException
public static boolean fixS3(Document doc)
public void verifyCFX(String name) throws PageException
PageException
public void verifyJavaCFX(String name, String strClass) throws PageException
PageException
public void removeCFX(String name) throws ExpressionException, SecurityException
name
-
ExpressionException
SecurityException
public void updateDataSource(String name, String newName, String clazzName, String dsn, String username, String password, String host, String database, int port, int connectionLimit, int connectionTimeout, long metaCacheTimeout, boolean blob, boolean clob, int allow, boolean validate, boolean storage, String timezone, Struct custom) throws ExpressionException, SecurityException
name
- clazzName
- dsn
- username
- password
- host
- database
- port
- connectionLimit
- connectionTimeout
- blob
- clob
- allow
- storage
- custom
-
ExpressionException
SecurityException
public void updateGatewayEntry(String id, String className, String cfcPath, String listenerCfcPath, int startupMode, Struct custom, boolean readOnly) throws PageException
PageException
public void updateCacheConnection(String name, String classname, int _default, Struct custom, boolean readOnly, boolean storage) throws PageException
PageException
public void removeCacheDefaultConnection(int type) throws PageException
PageException
public void updateCacheDefaultConnection(int type, String name) throws PageException
PageException
public void removeResourceProvider(Class clazz) throws PageException
PageException
public void updateResourceProvider(String scheme, Class clazz, Struct arguments) throws PageException
PageException
public void updateResourceProvider(String scheme, Class clazz, String arguments) throws PageException
PageException
public void updateDefaultResourceProvider(Class clazz, String arguments) throws PageException
PageException
public Query getResourceProviders() throws PageException
PageException
public void removeDataSource(String name) throws ExpressionException, SecurityException
name
-
ExpressionException
SecurityException
public void removeCacheConnection(String name) throws ExpressionException, SecurityException
ExpressionException
SecurityException
public void removeCacheGatewayEntry(String name) throws PageException
PageException
public void removeRemoteClient(String url) throws ExpressionException, SecurityException
ExpressionException
SecurityException
public void updatePSQ(Boolean psq) throws SecurityException
psq
- Preserver Single Quote
SecurityException
public void updateInspectTemplate(String str) throws SecurityException
SecurityException
public void updateScopeCascadingType(String type) throws SecurityException
type
- (ServletConfigImpl.SCOPE_XYZ)
SecurityException
public void updateScopeCascadingType(short type) throws SecurityException
type
- (ServletConfigImpl.SCOPE_XYZ)
SecurityException
public void updateAllowImplicidQueryCall(Boolean allow) throws SecurityException
allow
-
SecurityException
public void updateMergeFormAndUrl(Boolean merge) throws SecurityException
SecurityException
public void updateRequestTimeout(TimeSpan span) throws SecurityException
span
-
SecurityException
public void updateSessionTimeout(TimeSpan span) throws SecurityException
span
-
SecurityException
public void updateClientTimeout(TimeSpan span) throws SecurityException
span
-
SecurityException
public void updateSuppressWhitespace(Boolean value) throws SecurityException
SecurityException
public void updateSuppressContent(Boolean value) throws SecurityException
SecurityException
public void updateShowVersion(Boolean value) throws SecurityException
SecurityException
public void updateAllowCompression(Boolean value) throws SecurityException
SecurityException
public void updateContentLength(Boolean value) throws SecurityException
SecurityException
public void updateApplicationTimeout(TimeSpan span) throws SecurityException
span
-
SecurityException
public void updateApplicationListener(String type, String mode) throws SecurityException
SecurityException
public void updateProxy(boolean enabled, String server, int port, String username, String password) throws SecurityException
SecurityException
public void updateSessionManagement(Boolean sessionManagement) throws SecurityException
sessionManagement
-
SecurityException
public void updateClientManagement(Boolean clientManagement) throws SecurityException
clientManagement
-
SecurityException
public void updateClientCookies(Boolean clientCookies) throws SecurityException
clientCookies
-
SecurityException
public void updateDomaincookies(Boolean domainCookies) throws SecurityException
domainCookies
-
SecurityException
public void updateLocale(String locale) throws SecurityException
locale
-
SecurityException
public void updateMonitorEnabled(boolean updateMonitorEnabled) throws SecurityException
SecurityException
public void updateScriptProtect(String strScriptProtect) throws SecurityException
SecurityException
public void updateAllowURLRequestTimeout(Boolean allowURLRequestTimeout) throws SecurityException
SecurityException
public void updateScriptProtect(int scriptProtect) throws SecurityException
SecurityException
public void updateTimeZone(String timeZone) throws SecurityException
timeZone
-
SecurityException
public void updateTimeServer(String timeServer, Boolean useTimeServer) throws PageException
timeServer
- useTimeServer
-
PageException
public void updateBaseComponent(String baseComponent) throws SecurityException
baseComponent
-
SecurityException
public void updateComponentDeepSearch(Boolean deepSearch) throws SecurityException
SecurityException
public void updateComponentDefaultImport(String componentDefaultImport) throws SecurityException
SecurityException
public void updateComponentDataMemberDefaultAccess(String strAccess) throws SecurityException, ExpressionException
access
-
SecurityException
ExpressionException
public void updateTriggerDataMember(Boolean triggerDataMember) throws SecurityException
accessType
-
SecurityException
public void updateComponentUseShadow(Boolean useShadow) throws SecurityException
SecurityException
public void updateComponentLocalSearch(Boolean componentLocalSearch) throws SecurityException
SecurityException
public void updateComponentPathCache(Boolean componentPathCache) throws SecurityException
SecurityException
public void updateCTPathCache(Boolean ctPathCache) throws SecurityException
SecurityException
public void updateDebug(Boolean debug) throws SecurityException
debug
- if value is null server setting is used
SecurityException
public void updateDebugTemplate(String template) throws SecurityException
template
-
SecurityException
public void updateDebugShowQueryUsage(Boolean showQueryUsage) throws SecurityException
SecurityException
public void updateErrorTemplate(int statusCode, String template) throws SecurityException
template
-
SecurityException
public void updateErrorStatusCode(Boolean doStatusCode) throws SecurityException
SecurityException
public void updateComponentDumpTemplate(String template) throws SecurityException
template
-
SecurityException
public void updateDefaultSecurity(short setting, short file, Resource[] fileAccess, short directJavaAccess, short mail, short datasource, short mapping, short remote, short customTag, short cfxSetting, short cfxUsage, short debugging, short search, short scheduledTasks, short tagExecute, short tagImport, short tagObject, short tagRegistry, short cache, short gateway, short orm, short accessRead, short accessWrite) throws SecurityException
setting
- file
- directJavaAccess
- mail
- datasource
- mapping
- customTag
- cfxSetting
- cfxUsage
- debugging
- search
- scheduledTasks
- tagExecute
- tagImport
- tagObject
- tagRegistry
-
SecurityException
public void updateSecurity(String id, short setting, short file, Resource[] fileAccess, short directJavaAccess, short mail, short datasource, short mapping, short remote, short customTag, short cfxSetting, short cfxUsage, short debugging, short search, short scheduledTasks, short tagExecute, short tagImport, short tagObject, short tagRegistry, short cache, short gateway, short orm, short accessRead, short accessWrite) throws SecurityException, ApplicationException
id
- setting
- file
- file_access
- directJavaAccess
- mail
- datasource
- mapping
- customTag
- cfxSetting
- cfxUsage
- debugging
- search
- scheduledTasks
- tagExecute
- tagImport
- tagObject
- tagRegistry
-
SecurityException
ApplicationException
public String getDefaultPassword() throws SecurityException
SecurityException
public void updateDefaultPassword(String password) throws SecurityException
password
-
SecurityException
public void removeDefaultPassword() throws SecurityException
SecurityException
public void updateSessionType(String type) throws SecurityException
type
-
SecurityException
public void updateLocalMode(String mode) throws SecurityException
SecurityException
public void updateUpdate(String type, String location) throws SecurityException
type
- location
-
SecurityException
public void createSecurityManager(String id) throws SecurityException, DOMException
id
-
DOMException
SecurityException
public void removeSecurityManager(String id) throws SecurityException
id
-
SecurityException
public void runUpdate() throws PageException
PageException
public void removeLatestUpdate() throws PageException
PageException
public void removeUpdate() throws PageException
PageException
public void restart() throws PageException
PageException
public void updateWebCharset(String charset) throws PageException
PageException
public void updateResourceCharset(String charset) throws PageException
PageException
public void updateTemplateCharset(String charset) throws PageException
PageException
public void storageSet(Config config, String key, Object value) throws ConverterException, IOException, SecurityException
ConverterException
IOException
SecurityException
public Object storageGet(Config config, String key) throws ConverterException, IOException, SecurityException
ConverterException
IOException
SecurityException
public void updateCustomTagDeepSearch(boolean customTagDeepSearch) throws SecurityException
SecurityException
public void resetId() throws PageException
PageException
public void updateCustomTagLocalSearch(boolean customTagLocalSearch) throws SecurityException
SecurityException
public void updateCustomTagExtensions(String extensions) throws PageException
PageException
public void updateRemoteClient(String label, String url, String type, String securityKey, String usage, String adminPassword, String serverUsername, String serverPassword, String proxyServer, String proxyUsername, String proxyPassword, String proxyPort) throws PageException
PageException
public void updateMonitor(String className, String type, String name, boolean logEnabled) throws PageException
PageException
public void removeMonitor(String name) throws PageException
PageException
public void updateExtensionInfo(boolean enabled)
public void updateExtensionProvider(String strUrl)
public void removeExtensionProvider(String strUrl)
public void updateExtension(Extension extension) throws PageException
PageException
public void resetORMSetting() throws SecurityException
SecurityException
public void updateORMSetting(ORMConfiguration oc) throws SecurityException
SecurityException
public void removeExtension(String provider, String id) throws SecurityException
SecurityException
public void verifyExtensionProvider(String strUrl) throws PageException
PageException
public void updateTLD(Resource resTld) throws IOException
IOException
public void updateFLD(Resource resFld) throws IOException
IOException
public void updateLD(Resource dir, Resource res) throws IOException
IOException
public void removeTLD(String name) throws IOException
IOException
public void removeFLD(String name) throws IOException
IOException
public void updateJar(Resource resJar) throws IOException
IOException
public void updateLogSettings(String name, int level, String virtualpath, int maxfile, int maxfilesize) throws ApplicationException
ApplicationException
public void updateRemoteClientUsage(String code, String displayname)
public void updateClusterClass(String classname) throws PageException
PageException
public void updateVideoExecuterClass(String classname) throws PageException
PageException
public void updateAdminSyncClass(String classname) throws PageException
PageException
public void removeRemoteClientUsage(String code)
public void removeJar(String strNames) throws IOException
IOException
public void updateSerial(String serial) throws PageException
PageException
public boolean updateLabel(String hash, String label)
public void updateLoginSettings(boolean captcha, int delay)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |