BBjAppServer::setSecure

Description

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

Syntax

Return Value

Method

void

setSecure(boolean secure)

Parameters

Variable

Description

secure

A boolean indicating whether BUI apps should be run in secure mode.

Return Value

None.

Remarks

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

Example

rem ' BBjAppServer::setSecure

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
secure! = appServer!.getSecure()
appServer!.setSecure(secure!)
print "BBjAppServer setSecure ",secure!

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjAppServer::getSecure

BBjAppConfig::getSecure

BBjAppConfig::setSecure

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