railo.runtime.config
Class ConfigWebAdmin

java.lang.Object
  extended by railo.runtime.config.ConfigWebAdmin

public final class ConfigWebAdmin
extends Object


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

newInstance

public static ConfigWebAdmin newInstance(ConfigImpl config,
                                         String password)
                                  throws SAXException,
                                         IOException
Parameters:
config -
password -
Returns:
returns a new instance of the class
Throws:
SAXException
IOException

setPassword

public static void setPassword(ConfigImpl config,
                               boolean isServer,
                               String passwordOld,
                               String passwordNew)
                        throws PageException,
                               SAXException,
                               ClassException,
                               IOException,
                               TagLibException,
                               FunctionLibException
Parameters:
config -
isServer -
passwordOld -
passwordNew -
Throws:
SAXException
IOException
FunctionLibException
TagLibException
ClassNotFoundException
PageException
ClassException

setPassword

public void setPassword(String password)
                 throws SecurityException
Parameters:
password -
Throws:
ExpressionException
SecurityException

setVersion

public void setVersion(double version)

setPassword

public void setPassword(String contextPath,
                        String password)
                 throws PageException,
                        SAXException,
                        ClassException,
                        IOException,
                        TagLibException,
                        FunctionLibException
Parameters:
contextPath -
password -
Throws:
FunctionLibException
TagLibException
IOException
ClassNotFoundException
SAXException
PageException
ClassException

store

public void store()
           throws PageException,
                  SAXException,
                  ClassException,
                  IOException,
                  TagLibException,
                  FunctionLibException
store changes back to railo xml

Throws:
PageException
SAXException
ClassNotFoundException
IOException
TagLibException
FunctionLibException
ClassException

setMailLog

public void setMailLog(String logFile,
                       String level)
                throws PageException
sets Mail Logger to Config

Parameters:
logFile -
level -
Throws:
PageException

setMailSpoolEnable

public void setMailSpoolEnable(Boolean spoolEnable)
                        throws SecurityException
sets if spool is enable or not

Parameters:
spoolEnable -
Throws:
SecurityException

setMailSpoolInterval

public void setMailSpoolInterval(Integer interval)
                          throws SecurityException
sets if er interval is enable or not

Parameters:
interval -
Throws:
SecurityException

setMailTimeout

public void setMailTimeout(Integer timeout)
                    throws SecurityException
sets the timeout for the spooler for one job

Parameters:
timeout -
Throws:
SecurityException

setMailDefaultCharset

public void setMailDefaultCharset(String charset)
                           throws PageException
sets the charset for the mail

Parameters:
timeout -
Throws:
SecurityException
PageException

updateMailServer

public void updateMailServer(String hostName,
                             String username,
                             String password,
                             int port,
                             boolean tls,
                             boolean ssl)
                      throws PageException
insert or update a mailserver on system

Parameters:
hostName -
username -
password -
port -
ssl -
tls -
Throws:
PageException

removeMailServer

public void removeMailServer(String hostName)
                      throws SecurityException
removes a mailserver from system

Parameters:
hostName -
Throws:
SecurityException

updateMapping

public void updateMapping(String virtual,
                          String physical,
                          String archive,
                          String primary,
                          boolean trusted,
                          boolean toplevel)
                   throws ExpressionException,
                          SecurityException
insert or update a mapping on system

Parameters:
virtual -
physical -
archive -
primary -
trusted -
toplevel -
Throws:
ExpressionException
SecurityException

removeMapping

public void removeMapping(String virtual)
                   throws ExpressionException,
                          SecurityException
delete a mapping on system

Parameters:
virtual -
Throws:
ExpressionException
SecurityException

removeCustomTag

public void removeCustomTag(String virtual)
                     throws SecurityException
delete a customtagmapping on system

Parameters:
virtual -
Throws:
SecurityException

removeComponentMapping

public void removeComponentMapping(String virtual)
                            throws SecurityException
Throws:
SecurityException

updateCustomTag

public void updateCustomTag(String virtual,
                            String physical,
                            String archive,
                            String primary,
                            boolean trusted)
                     throws ExpressionException,
                            SecurityException
insert or update a mapping for Custom Tag

Parameters:
virtual -
physical -
archive -
primary -
trusted -
Throws:
ExpressionException
SecurityException

updateComponentMapping

public void updateComponentMapping(String virtual,
                                   String physical,
                                   String archive,
                                   String primary,
                                   boolean trusted)
                            throws ExpressionException,
                                   SecurityException
Throws:
ExpressionException
SecurityException

updateJavaCFX

public void updateJavaCFX(String name,
                          String strClass)
                   throws PageException
insert or update a Java CFX Tag

Parameters:
name -
strClass -
Throws:
PageException

updateCPPCFX

public void updateCPPCFX(String name,
                         String procedure,
                         String strServerLibrary,
                         boolean keepAlive)
                  throws PageException
Throws:
PageException

fixPSQ

public static boolean fixPSQ(Document doc)
                      throws SecurityException
Throws:
SecurityException

fixS3

public static boolean fixS3(Document doc)

verifyCFX

public void verifyCFX(String name)
               throws PageException
Throws:
PageException

verifyJavaCFX

public void verifyJavaCFX(String name,
                          String strClass)
                   throws PageException
Throws:
PageException

removeCFX

public void removeCFX(String name)
               throws ExpressionException,
                      SecurityException
remove a CFX Tag

Parameters:
name -
Throws:
ExpressionException
SecurityException

updateDataSource

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
update or insert new database connection

Parameters:
name -
clazzName -
dsn -
username -
password -
host -
database -
port -
connectionLimit -
connectionTimeout -
blob -
clob -
allow -
storage -
custom -
Throws:
ExpressionException
SecurityException

updateGatewayEntry

public void updateGatewayEntry(String id,
                               String className,
                               String cfcPath,
                               String listenerCfcPath,
                               int startupMode,
                               Struct custom,
                               boolean readOnly)
                        throws PageException
Throws:
PageException

updateCacheConnection

public void updateCacheConnection(String name,
                                  String classname,
                                  int _default,
                                  Struct custom,
                                  boolean readOnly,
                                  boolean storage)
                           throws PageException
Throws:
PageException

removeCacheDefaultConnection

public void removeCacheDefaultConnection(int type)
                                  throws PageException
Throws:
PageException

updateCacheDefaultConnection

public void updateCacheDefaultConnection(int type,
                                         String name)
                                  throws PageException
Throws:
PageException

removeResourceProvider

public void removeResourceProvider(Class clazz)
                            throws PageException
Throws:
PageException

updateResourceProvider

public void updateResourceProvider(String scheme,
                                   Class clazz,
                                   Struct arguments)
                            throws PageException
Throws:
PageException

updateResourceProvider

public void updateResourceProvider(String scheme,
                                   Class clazz,
                                   String arguments)
                            throws PageException
Throws:
PageException

updateDefaultResourceProvider

public void updateDefaultResourceProvider(Class clazz,
                                          String arguments)
                                   throws PageException
Throws:
PageException

getResourceProviders

public Query getResourceProviders()
                           throws PageException
Throws:
PageException

removeDataSource

public void removeDataSource(String name)
                      throws ExpressionException,
                             SecurityException
remove a DataSource Connection

Parameters:
name -
Throws:
ExpressionException
SecurityException

removeCacheConnection

public void removeCacheConnection(String name)
                           throws ExpressionException,
                                  SecurityException
Throws:
ExpressionException
SecurityException

removeCacheGatewayEntry

public void removeCacheGatewayEntry(String name)
                             throws PageException
Throws:
PageException

removeRemoteClient

public void removeRemoteClient(String url)
                        throws ExpressionException,
                               SecurityException
Throws:
ExpressionException
SecurityException

updatePSQ

public void updatePSQ(Boolean psq)
               throws SecurityException
update PSQ State

Parameters:
psq - Preserver Single Quote
Throws:
SecurityException

updateInspectTemplate

public void updateInspectTemplate(String str)
                           throws SecurityException
Throws:
SecurityException

updateScopeCascadingType

public void updateScopeCascadingType(String type)
                              throws SecurityException
sets the scope cascading type

Parameters:
type - (ServletConfigImpl.SCOPE_XYZ)
Throws:
SecurityException

updateScopeCascadingType

public void updateScopeCascadingType(short type)
                              throws SecurityException
sets the scope cascading type

Parameters:
type - (ServletConfigImpl.SCOPE_XYZ)
Throws:
SecurityException

updateAllowImplicidQueryCall

public void updateAllowImplicidQueryCall(Boolean allow)
                                  throws SecurityException
sets if allowed implicid query call

Parameters:
allow -
Throws:
SecurityException

updateMergeFormAndUrl

public void updateMergeFormAndUrl(Boolean merge)
                           throws SecurityException
Throws:
SecurityException

updateRequestTimeout

public void updateRequestTimeout(TimeSpan span)
                          throws SecurityException
updates request timeout value

Parameters:
span -
Throws:
SecurityException

updateSessionTimeout

public void updateSessionTimeout(TimeSpan span)
                          throws SecurityException
updates session timeout value

Parameters:
span -
Throws:
SecurityException

updateClientTimeout

public void updateClientTimeout(TimeSpan span)
                         throws SecurityException
updates session timeout value

Parameters:
span -
Throws:
SecurityException

updateSuppressWhitespace

public void updateSuppressWhitespace(Boolean value)
                              throws SecurityException
Throws:
SecurityException

updateSuppressContent

public void updateSuppressContent(Boolean value)
                           throws SecurityException
Throws:
SecurityException

updateShowVersion

public void updateShowVersion(Boolean value)
                       throws SecurityException
Throws:
SecurityException

updateAllowCompression

public void updateAllowCompression(Boolean value)
                            throws SecurityException
Throws:
SecurityException

updateContentLength

public void updateContentLength(Boolean value)
                         throws SecurityException
Throws:
SecurityException

updateApplicationTimeout

public void updateApplicationTimeout(TimeSpan span)
                              throws SecurityException
updates request timeout value

Parameters:
span -
Throws:
SecurityException

updateApplicationListener

public void updateApplicationListener(String type,
                                      String mode)
                               throws SecurityException
Throws:
SecurityException

updateProxy

public void updateProxy(boolean enabled,
                        String server,
                        int port,
                        String username,
                        String password)
                 throws SecurityException
Throws:
SecurityException

updateSessionManagement

public void updateSessionManagement(Boolean sessionManagement)
                             throws SecurityException
enable or desable session management

Parameters:
sessionManagement -
Throws:
SecurityException

updateClientManagement

public void updateClientManagement(Boolean clientManagement)
                            throws SecurityException
enable or desable client management

Parameters:
clientManagement -
Throws:
SecurityException

updateClientCookies

public void updateClientCookies(Boolean clientCookies)
                         throws SecurityException
set if client cookies are enabled or not

Parameters:
clientCookies -
Throws:
SecurityException

updateDomaincookies

public void updateDomaincookies(Boolean domainCookies)
                         throws SecurityException
set if domain cookies are enabled or not

Parameters:
domainCookies -
Throws:
SecurityException

updateLocale

public void updateLocale(String locale)
                  throws SecurityException
update the locale

Parameters:
locale -
Throws:
SecurityException

updateMonitorEnabled

public void updateMonitorEnabled(boolean updateMonitorEnabled)
                          throws SecurityException
Throws:
SecurityException

updateScriptProtect

public void updateScriptProtect(String strScriptProtect)
                         throws SecurityException
Throws:
SecurityException

updateAllowURLRequestTimeout

public void updateAllowURLRequestTimeout(Boolean allowURLRequestTimeout)
                                  throws SecurityException
Throws:
SecurityException

updateScriptProtect

public void updateScriptProtect(int scriptProtect)
                         throws SecurityException
Throws:
SecurityException

updateTimeZone

public void updateTimeZone(String timeZone)
                    throws SecurityException
update the timeZone

Parameters:
timeZone -
Throws:
SecurityException

updateTimeServer

public void updateTimeServer(String timeServer,
                             Boolean useTimeServer)
                      throws PageException
update the timeServer

Parameters:
timeServer -
useTimeServer -
Throws:
PageException

updateBaseComponent

public void updateBaseComponent(String baseComponent)
                         throws SecurityException
update the baseComponent

Parameters:
baseComponent -
Throws:
SecurityException

updateComponentDeepSearch

public void updateComponentDeepSearch(Boolean deepSearch)
                               throws SecurityException
Throws:
SecurityException

updateComponentDefaultImport

public void updateComponentDefaultImport(String componentDefaultImport)
                                  throws SecurityException
Throws:
SecurityException

updateComponentDataMemberDefaultAccess

public void updateComponentDataMemberDefaultAccess(String strAccess)
                                            throws SecurityException,
                                                   ExpressionException
update the Component Data Member default access type

Parameters:
access -
Throws:
SecurityException
ExpressionException

updateTriggerDataMember

public void updateTriggerDataMember(Boolean triggerDataMember)
                             throws SecurityException
update the Component Data Member default access type

Parameters:
accessType -
Throws:
SecurityException

updateComponentUseShadow

public void updateComponentUseShadow(Boolean useShadow)
                              throws SecurityException
Throws:
SecurityException

updateComponentLocalSearch

public void updateComponentLocalSearch(Boolean componentLocalSearch)
                                throws SecurityException
Throws:
SecurityException

updateComponentPathCache

public void updateComponentPathCache(Boolean componentPathCache)
                              throws SecurityException
Throws:
SecurityException

updateCTPathCache

public void updateCTPathCache(Boolean ctPathCache)
                       throws SecurityException
Throws:
SecurityException

updateDebug

public void updateDebug(Boolean debug)
                 throws SecurityException
updates if debugging or not

Parameters:
debug - if value is null server setting is used
Throws:
SecurityException

updateDebugTemplate

public void updateDebugTemplate(String template)
                         throws SecurityException
updates the DebugTemplate

Parameters:
template -
Throws:
SecurityException

updateDebugShowQueryUsage

public void updateDebugShowQueryUsage(Boolean showQueryUsage)
                               throws SecurityException
Throws:
SecurityException

updateErrorTemplate

public void updateErrorTemplate(int statusCode,
                                String template)
                         throws SecurityException
updates the ErrorTemplate

Parameters:
template -
Throws:
SecurityException

updateErrorStatusCode

public void updateErrorStatusCode(Boolean doStatusCode)
                           throws SecurityException
Throws:
SecurityException

updateComponentDumpTemplate

public void updateComponentDumpTemplate(String template)
                                 throws SecurityException
updates the DebugTemplate

Parameters:
template -
Throws:
SecurityException

updateDefaultSecurity

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
Parameters:
setting -
file -
directJavaAccess -
mail -
datasource -
mapping -
customTag -
cfxSetting -
cfxUsage -
debugging -
search -
scheduledTasks -
tagExecute -
tagImport -
tagObject -
tagRegistry -
Throws:
SecurityException

updateSecurity

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
update a security manager that match the given id

Parameters:
id -
setting -
file -
file_access -
directJavaAccess -
mail -
datasource -
mapping -
customTag -
cfxSetting -
cfxUsage -
debugging -
search -
scheduledTasks -
tagExecute -
tagImport -
tagObject -
tagRegistry -
Throws:
SecurityException
ApplicationException

getDefaultPassword

public String getDefaultPassword()
                          throws SecurityException
Returns:
returns the default password
Throws:
SecurityException

updateDefaultPassword

public void updateDefaultPassword(String password)
                           throws SecurityException
Parameters:
password -
Throws:
SecurityException

removeDefaultPassword

public void removeDefaultPassword()
                           throws SecurityException
Throws:
SecurityException

updateSessionType

public void updateSessionType(String type)
                       throws SecurityException
session type update

Parameters:
type -
Throws:
SecurityException

updateLocalMode

public void updateLocalMode(String mode)
                     throws SecurityException
Throws:
SecurityException

updateUpdate

public void updateUpdate(String type,
                         String location)
                  throws SecurityException
updates update settingd for railo

Parameters:
type -
location -
Throws:
SecurityException

createSecurityManager

public void createSecurityManager(String id)
                           throws SecurityException,
                                  DOMException
creates a individual security manager based on the default security manager

Parameters:
id -
Throws:
DOMException
SecurityException

removeSecurityManager

public void removeSecurityManager(String id)
                           throws SecurityException
remove security manager matching given id

Parameters:
id -
Throws:
SecurityException

runUpdate

public void runUpdate()
               throws PageException
run update from cfml engine

Throws:
PageException

removeLatestUpdate

public void removeLatestUpdate()
                        throws PageException
run update from cfml engine

Throws:
PageException

removeUpdate

public void removeUpdate()
                  throws PageException
Throws:
PageException

restart

public void restart()
             throws PageException
run update from cfml engine

Throws:
PageException

updateWebCharset

public void updateWebCharset(String charset)
                      throws PageException
Throws:
PageException

updateResourceCharset

public void updateResourceCharset(String charset)
                           throws PageException
Throws:
PageException

updateTemplateCharset

public void updateTemplateCharset(String charset)
                           throws PageException
Throws:
PageException

storageSet

public void storageSet(Config config,
                       String key,
                       Object value)
                throws ConverterException,
                       IOException,
                       SecurityException
Throws:
ConverterException
IOException
SecurityException

storageGet

public Object storageGet(Config config,
                         String key)
                  throws ConverterException,
                         IOException,
                         SecurityException
Throws:
ConverterException
IOException
SecurityException

updateCustomTagDeepSearch

public void updateCustomTagDeepSearch(boolean customTagDeepSearch)
                               throws SecurityException
Throws:
SecurityException

resetId

public void resetId()
             throws PageException
Throws:
PageException

updateCustomTagLocalSearch

public void updateCustomTagLocalSearch(boolean customTagLocalSearch)
                                throws SecurityException
Throws:
SecurityException

updateCustomTagExtensions

public void updateCustomTagExtensions(String extensions)
                               throws PageException
Throws:
PageException

updateRemoteClient

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
Throws:
PageException

updateMonitor

public void updateMonitor(String className,
                          String type,
                          String name,
                          boolean logEnabled)
                   throws PageException
Throws:
PageException

removeMonitor

public void removeMonitor(String name)
                   throws PageException
Throws:
PageException

updateExtensionInfo

public void updateExtensionInfo(boolean enabled)

updateExtensionProvider

public void updateExtensionProvider(String strUrl)

removeExtensionProvider

public void removeExtensionProvider(String strUrl)

updateExtension

public void updateExtension(Extension extension)
                     throws PageException
Throws:
PageException

resetORMSetting

public void resetORMSetting()
                     throws SecurityException
Throws:
SecurityException

updateORMSetting

public void updateORMSetting(ORMConfiguration oc)
                      throws SecurityException
Throws:
SecurityException

removeExtension

public void removeExtension(String provider,
                            String id)
                     throws SecurityException
Throws:
SecurityException

verifyExtensionProvider

public void verifyExtensionProvider(String strUrl)
                             throws PageException
Throws:
PageException

updateTLD

public void updateTLD(Resource resTld)
               throws IOException
Throws:
IOException

updateFLD

public void updateFLD(Resource resFld)
               throws IOException
Throws:
IOException

updateLD

public void updateLD(Resource dir,
                     Resource res)
              throws IOException
Throws:
IOException

removeTLD

public void removeTLD(String name)
               throws IOException
Throws:
IOException

removeFLD

public void removeFLD(String name)
               throws IOException
Throws:
IOException

updateJar

public void updateJar(Resource resJar)
               throws IOException
Throws:
IOException

updateLogSettings

public void updateLogSettings(String name,
                              int level,
                              String virtualpath,
                              int maxfile,
                              int maxfilesize)
                       throws ApplicationException
Throws:
ApplicationException

updateRemoteClientUsage

public void updateRemoteClientUsage(String code,
                                    String displayname)

updateClusterClass

public void updateClusterClass(String classname)
                        throws PageException
Throws:
PageException

updateVideoExecuterClass

public void updateVideoExecuterClass(String classname)
                              throws PageException
Throws:
PageException

updateAdminSyncClass

public void updateAdminSyncClass(String classname)
                          throws PageException
Throws:
PageException

removeRemoteClientUsage

public void removeRemoteClientUsage(String code)

removeJar

public void removeJar(String strNames)
               throws IOException
Throws:
IOException

updateSerial

public void updateSerial(String serial)
                  throws PageException
Throws:
PageException

updateLabel

public boolean updateLabel(String hash,
                           String label)

updateLoginSettings

public void updateLoginSettings(boolean captcha,
                                int delay)


Copyright © 2012 Railo