BBjAppConfig::setSecure

Description

In BBj 19.10 and higher, this method sets whether this application should be started in secure mode. The default value is false.

Syntax

Return Value

Method

void

setSecure(boolean secure)

Parameters

Variable

Description

secure

A boolean indicating whether secure mode is specified.

Return Value

None.

Remarks

Specifying secure mode is equivalent to using the -SCcommand line flag.

Example

rem ' BBjAppConfig::setSecure

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setSecure(0)
print "BBjAppConfig setSecure: ",
print appConfig!.getSecure()

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjAppConfig::getSecure

BBjAppServer::setSecure

BBjAppServer::getSecure

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.