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
Tips on configuring an ACE/Server 5.0 environment for proper hostname resolution. 7Number of Views Error: 'AttributePluginException: error encountered while trying to convert a user property: samlattr6: java.lang.IllegalA… 9Number of Views What is my DRAC IP Address 41Number of Views Error "Unable to generate TSF URL" on RSA Authentication Manager 8.x 44Number of Views Generic REST Collector fails with 'jsonpath.PathNotFoundException:Missing property in path $['members']' error collecting … 82Number of Views
Trending Articles
Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU RSA Release Notes: Cloud Access Service and Authenticators RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device