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

How to use E-Signature as a session key for the RTC plugin

"com.ibm.workitem.attribute.RationalPassword" is of type E-Signature. PlugIn runs as followup-action when the work item reaches XYZ state. PlugIn uses current session users credentials to login another RTC project area to verify few items.

Currently code:
IWorkItem newState;
private IWorkItemServer fWorkItemService;
IAttribute esig = fWorkItemService.findAttribute(newState.getProjectArea(), "com.ibm.workitem.attribute.RationalPassword", monitor);           
String fSessionKey = getAttributeReadableValue(esig, newState, monitor);
RepositoryLogin repologin = new RepositoryLogin( <<JTS URI>>, fSessionUser, fSessionKey);

String fSessionKey is not printing any value in the ccm logfile.
String fSessionUser is the current session user and is printed correctly.
Login leads to error message in ccm.log: "Unable to login to  JTS Repository. Verify JTS Repo URI and Admin Credentials...CRJAZ0124E The user name or password is invalid....com.ibm.team.repository.transport.client.AuthenticationException: CRJAZ0124E The user name or password is invalid."

0 votes


Be the first one to answer this question!

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
× 10,941

Question asked: Jan 19 '16, 2:34 p.m.

Question was seen: 1,412 times

Last updated: Jan 19 '16, 2:34 p.m.

Confirmation Cancel Confirm