Gateway

The Gateway interface represents Gateway Server functions. This is the root object It provides methods to invoke forms on a remote system using the Gateway Server JWE (JSON Web Encryption) token that contains the users credentials. It also provides REST functions that use also set the HTTP Authorization request header using a Gateway token.

Gateway Functions

isGatewayServer Gateway.isGatewayServer( ) Returns true if the licence supports the feature: Gateway Server, otherwise false.
isGatewayUser Gateway.isGatewayUser( ) Returns true if the user has logged onto the system via the Gateway Server otherwise false
gotoForm Gateway.gotoForm( remoteServer , formName [, parameters ] ) Transfers control to the form with the specified name from the Gateway Server to a specified remote server configured on the Server Admin Application.
getRemoteServers Gateway.getRemoteServers( ) Returns a list of remote servers configurations available for the Gateway Server to call using the method callForm(String, String) The GatewayRemoteServer contains the configuration information regarding the remote server that the Gateway Server can call
getRest Gateway.getRest( ) Returns the REST services that supports REST based operations to the Gateway Server.