Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RAMSession within a policy

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?

0 votes



One answer

Permanent link
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;
}

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 11 '11, 9:35 p.m.

Question was seen: 3,738 times

Last updated: Apr 11 '11, 9:35 p.m.

Confirmation Cancel Confirm