BBjAppConfig::clearSecure

Description

In BBj 19.10 and higher, this method clears any application-specific setting and uses the server's default setting for whether this application should be started in secure mode.

Syntax

Return Value

Method

void

clearSecure()

Parameters

None.

Return Value

None.

Remarks

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

Example

rem ' BBjAppConfig::clearSecure

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 "BBjAppConfig clearSecure()"
appConfig!.clearSecure()
print "BBjAppConfig getSecure: ",
print appConfig!.getSecure()

See Also

BBjAPI

BBjAppConfig::getSecure

BBjAppConfig::setSecure

BBjAppServer::setSecure

BBjAppServer::getSecure

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