It's all about the answers!

Ask a question

RAMSession within a policy


andrew opat (1666) | asked Apr 11 '11, 9:35 p.m.
In order to construct a RAMSession, we require a URL and user credentials. Is there a way of getting this information from within the Policy, so that the RAMSession is constructed with the same context as the Policy?

Otherwise, is there a default user that can be used, or is it going to be necessary to pass credentials and a URL into the policy?

One answer



permanent link
Gili Mendel (1.8k56) | answered Apr 22 '11, 6:51 p.m.
JAZZ DEVELOPER
We are working on getting a RAMSession that is available to a policy (one that bypasses the connection/login to the ram server).

In the meantime, you can use the Policy Configuration to store the uid and password:


@Override
public ConfigurationDetails[] getConfigurationDetails(Locale locale) {
if (configDetails == null) {
configDetails = new ConfigurationDetails[] {
new ConfigurationDetails(UID, "User ID", "User ID to use to connect to RAM session", false, false),
new ConfigurationDetails(PASSWD, "Password", "Password to use for RAM session", true, false)
};
}
return configDetails;
}

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.