You can use the Jython or Jacl scripting languages to manage proxy configurations. Use the commands and parameters in the ProxyManagement group to configure proxy servers for Web modules.
Target object
Specify the deployment object that represents the application for which the system creates the Web module proxy configuration.
Required parameters
Optional parameters
Examples
Batch mode example usage:
$AdminTask createWebModuleProxyConfig myApplication {-deployedObjectProxyConfigName MyWebModule -enableProxy true -transportProtocol HTTPS}
AdminTask.createWebModuleProxyConfig('myApplication', '[-deployedObjectProxyConfigName MyWebModule -enableProxy true -transportProtocol HTTPS]')
AdminTask.createWebModuleProxyConfig(myApplication, ['-deployedObjectProxyConfigName', 'MyWebModule', '-enableProxy', 'true', '-transportProtocol', 'HTTPS'])
Interactive mode example usage:
$AdminTask createWebModuleProxyConfig {-interactive}
AdminTask.createWebModuleProxyConfig('-interactive')
Target object
Specify the deployment object that represents the application from which the system deletes the Web module proxy configuration.
Required parameters
Optional parameters
NoneSample output
The command does not return output.
Examples
Batch mode example usage:
$AdminTask deleteWebModuleProxyConfig myApplication {-deployedObjectProxyConfigName MyWebModule}
AdminTask.deleteWebModuleProxyConfig('myApplication', '[-deployedObjectProxyConfigName MyWebModule]')
AdminTask.deleteWebModuleProxyConfig(myApplication, ['-deployedObjectProxyConfigName', 'MyWebModule'])
Interactive mode example usage:
$AdminTask deleteWebModuleProxyConfig {-interactive}
AdminTask.deleteWebModuleProxyConfig('-interactive')
Target object
Specify the configuration ID of the secure proxy server of interest.
Optional parameters
Sample output
The command returns the security level of the secure proxy server. If you specify the optional parameter, the command displays additional information about the security level of the server of interest.
Examples
Batch mode example usage:
$AdminTask getServerSecurityLevel myProxyServer {-proxyDetailsFormat levels}
AdminTask.getServerSecurityLevel('myProxyServer', '[-proxyDetailsFormat levels]')
AdminTask.getServerSecurityLevel(myProxyServer, ['-proxyDetailsFormat', 'levels'])
Interactive mode example usage:
$AdminTask getServerSecurityLevel {-interactive}
AdminTask.getServerSecurityLevel('-interactive')
Target object
Specify the configuration ID of the secure proxy server of interest.
Optional parameters
ID | Description | Valid values |
---|---|---|
administration | Sets the administration security setting. | Specify local to allow local administration. Specify remote to allow remote administration. |
routing | Sets the routing security setting. Using static routing specifies routing is performed through a flat configuration file using routing precedence that is inherent to the ordering of the directives. Requests can also be routed dynamically through a best match mechanism that determines the installed application or routing rule that corresponds to a specific request. | Specify static to use static routing, or specify dynamic to use dynamic routing. |
startupPermissions | Sets the startup permissions. The overall security level of the secured proxy server can be hardened by reverting the server process to run as an unprivileged user after startup. Although the secured proxy server must be started as a privileged user, changing the server process to run as an unprivileged user provides additional protection for local operating resources. | Specify unprivileged to run the server process as an unprivileged user, or specify privileged to run the server process as a privileged user. |
errorPageHandling | Sets the error page handling. You can define a custom error page for each error code or a group of error codes on errors generated by the proxy server or the application server. This is done using HTTP status codes in responses to generate uniform customized error pages for the application. For security reasons, you can ensure that the error pages are read from the local file system instead of being forwarded to a custom remote application. | Specify local to read error pages from the local file system, or specify remote to allow the system to read error pages from remote applications. |
Sample output
The command does not return output.
Examples
Batch mode example usage:
$AdminTask setServerSecurityLevel proxyServerID {-proxySecurityLevel administration=local;routing=static;startupPermissions=unprivileged ;errorPageHandling=local}
AdminTask.setServerSecurityLevel('proxyServerID', '[-proxySecurityLevel administration=local;routing=static;startupPermissions=unprivileged ;errorPageHandling=local]'))
AdminTask.setServerSecurityLevel(proxyServerID, ['-proxySecurityLevel', 'administration=local;routing=static;startupPermissions=unprivileged ;errorPageHandling=local'])
Interactive mode example usage:
$AdminTask setServerSecurityLevel {-interactive}
AdminTask.setServerSecurityLevel('-interactive')