Sample code uses Command Client username, password, provider URL, and JNDI information stored in the clear.
To be invoked by the SDK connection code, the class must be referenced in the CommandClientAppContextOverrides.xml file ConnectionInfoProvider bean definition (instead of com.rsa.command.PropertiesConnectionInfoProvider).
For example:
package com.mycompany.client;
public class MyProvider implements com.rsa.command.ConnectionInfoProvider {
private String propertiesFile = null; //using a file to store the properties
public void setPropertiesFile(String propertiesFile) { //invoked by Spring framework if specified in bean definition
this.propertiesFile = propertiesFile;
}
public String getStringValue(String key) {
String prop = null;
//retrieve (and decrypt) the specified property from propertiesFile
return prop;
}
}
The bean definition in CommandClientAppContextOverrides.xml would then be:
...
<!--
| Override the definition of ConnectionInfoProvider
|-->
<bean name="ConnectionInfoProvider"
class="com.mycompany.client.MyProvider"
lazy-init="false">
<property name="propertiesFile" value="config.properties"/>
</bean>
...
Related Articles
Access Manager error: 'User must be specified in the map' 12Number of Views Error "Unable to generate TSF URL" on RSA Authentication Manager 8.x 44Number of Views ORA-02292: integrity constraint (AVUSER.FK_CONN_PROP_TO_CONN_TYPE_PROP) violated - child record found error when deleting … 147Number of Views How to configure a global default Circuit Breaker threshold value in RSA Identity Governance & Lifecycle 83Number of Views Initialization operations completed with errors after RSA Identity Governance & Lifecycle 7.1P03 upgrade 102Number of Views
Trending Articles
RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to Upgrade Internal SHA-1 Certificates to SHA-256 in Authentication Manager Using rsautil RSA Authentication Manager 8.9 Setup and Configuration Guide How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device