Is there an equivalent of IImpersonationService for plain java API?
![]()
Hi,
is possible to impersonate other user with plain java API as it is possible on server side?
I'd like to perform some action from inside a build and I don't like to pass user/password information in order to login to the server. I'd prefer to use a single technical user that can impersonate other users.
Thanks,
Michele.
|
3 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Feb 10 '14, 4:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am not sure I understand the question. If you run something in a build, it is run in the context of the user running the build - which is usually a technical user.. You can also pass arguments like another user ID or password, or read them (I think) from a password file to use another user. However, there is no way to act as another user I am aware of.
|
![]()
Ralph,
I'd like to impersonate other users using a technical JazzAdmin user (as I can do on server side) because otherwise I would have to create password files for each user on the compile machine in order to use on custom tasks (I don't like to put password directly in build properties for security reason).
Thanks,
Michele.
|
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.