BBjApplication::getSecure

Description

In BBj 19.10 and higher, this method returns a boolean indicating whether secure mode was specified for this BBjApplication. The default value is false.

Syntax

Return Value

Method

boolean

getSecure()

Parameters

None.

Return Value

Returns a boolean indicating whether secure mode was specified for this BBjApplication.

Remarks

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

Example

rem ' BBjApplication::getSecure

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
vector! = appServer!.getAllAppNames()
if (vector!.size()) then
    for i = 0 to vector!.size() - 1
        appName$ = vector!.get(i)
        app! = appServer!.getApplication(appName$)
        print appName$," getSecure? ",app!.getSecure()
    next i
endif

See Also

BBjAPI

BBjApplication

BBjAppConfig

BBjAppServer

BBjAppConfig::getSecure

BBjAppConfig::setSecure

BBjAppServer::getSecure

BBjAppServer::setSecure

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