It's all about the answers!

Ask a question

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

Chidambaram L (23414281) | asked Jan 19 '16, 2:34 p.m.
"" 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(), "", 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 CRJAZ0124E The user name or password is invalid."

Be the first one to answer this question!

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.