BBjAppConfig::getSecure

Description

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

Syntax

Return Value

Method

boolean

getSecure()

Parameters

None.

Return Value

Returns a boolean indicating whether this BBjAppConfig specifies secure mode.

Remarks

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

Example

rem ' BBjAppConfig::getSecure

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

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjAppConfig::setSecure

BBjAppServer::setSecure

BBjAppServer::getSecure

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