How to retrieve the CT Server info enter into RSA Federated Identity Manager (FIM) GUI within Custom Plugins
Originally Published: 2004-12-24
Last Modified: 2023-09-22
Article Number
000057287
Applies To
RSA Federated Identity Manager (FIM) 2.5
Issue
How to retrieve the CT Server info enter into RSA Federated Identity Manager (FIM) GUI within Custom Plugins
Resolution
Below are details on an Admin Connection, (RP Attribute Plug-in) and a Runtime, (AP or RP Ticket Plug-in, AP Attribute Plugin):

Admin
 try {
            apiServerProxy = CtAdminApiPool.getInstance().getConnection();
        } catch (Exception ex) {
            Debug.traceException(this, ex);
            throw new AttributePluginException(ex);
        }

 

Runtime
        myRuntimeAPIPool = CtRuntimeApiPool.getInstance();
        if (myRuntimeAPIPool != null) {
            runtimeAPI = myRuntimeAPIPool.getRuntimeAPIConnection();

            if (runtimeAPI != null) {
                noRuntimeAPI = false;
            }
        }