[closed] Login to RTC using server-side Java API
I would like to login to RTC with some specified credentials using server-side Java API.
I need to insert this code in an Event Handler in order to perform an action with a different user from the one who has caused the plugin to run.
I have already done such a thing using client-side plain Java API; is this possible using server-side classes (from RTC SDK) as well?
I am working with RTC 5.0.2.
I need to insert this code in an Event Handler in order to perform an action with a different user from the one who has caused the plugin to run.
I have already done such a thing using client-side plain Java API; is this possible using server-side classes (from RTC SDK) as well?
I am working with RTC 5.0.2.
The question has been closed for the following reason: "Problem is not reproducible or outdated" by lumar Aug 17 '18, 4:27 p.m.
One answer
Luca,
working on server side you are already connected to RTC. I think you want to CHANGE your credential as event handler work as "admin" user that could not be inserted in any roles. If this is what you want you have to use IImpersonationService to change credentials when you perform actions like save work item or other.
working on server side you are already connected to RTC. I think you want to CHANGE your credential as event handler work as "admin" user that could not be inserted in any roles. If this is what you want you have to use IImpersonationService to change credentials when you perform actions like save work item or other.