Name
global.RefConnectionCredential
Description
Show the right type of credentials based on connection type
Script
var RefConnectionCredential = Class.create();
RefConnectionCredential.showCredsbyConnectionType = function(connectionGr) {
var connectionType = connectionGr.sys_class_name+"";
var answer = "type=";
if(connectionType == "jdbc_connection")
return answer+"jdbc";
else if(connectionType == "orch_jms_ds")
return answer+"jms";
else
return "";
};
RefConnectionCredential.showAliasbyConnectionType = function(connectionGr) {
var connectionType = connectionGr.sys_class_name+"";
return "type=connection^connection_type="+connectionType;
};
Sys ID
31872a20b3533200350086d256a8dcde