Which IIQ version are you inquiring about?
8.4
Share all details about your problem, including any error messages you may have received.
I’m creating a before rule for my webservice connector application.
Based on the documentation, I’m using connectorStateMap to set new application properties in the rule.
How can I set encrypted properties?
Should I use context.encrypt(…)before adding the attribute to the connectorStateMapor is it a better way to achieve it?
This is my current solution:
String encryptedToken = context.encrypt(accessToken);
Map state = new HashMap();
state.put("access_token", encryptedToken);
Map ret = new HashMap();
ret.put("updatedEndPoint", requestEndPoint);
ret.put("connectorStateMap", state);
return ret;