SecurityManager.logonGatewayAuthentication

Logon using the Gateway Authentication Token. The authorization token is an encrypted Gateway Authentication Token and it is used to determine whether the request is from a specified Gateway Server identified by the Server Admin App > Security > User Authentication. The token contains encrypted information holds data about the user that is extracted to populate the security userid, roles, user credentials and authorizations.

Further documentation. .

Javascript example:

 try {
   system.securityManager.logonGatewayAuthentication("MyRemoteGatewayServer");
 }
 catch (e) {
   event.owner.addErrorMessage(e.javaException.message);
 }
 

returns boolean

Parameters

java.lang.String  gatewayServerName,