Hey Guyes,

I have a question regarding using credentials integration in plugins
(standard password/username), more specifically what is the best way to use
credentials when your task is executed on a remote using a callable.

In my builder i have a dropdown which gives the user a list of credentials
to choose from, and when the job is saved, i store the credentialId that
belongs to a particular credential. (This works fine). I used the
credentials taglib to create the select.

My question has to how to transmit/resolve the username/password on the
remote? is it safe enough to pass the crendetial id to the callable, and
resolve the password / username on the remote using
CredentialsProvider.findCredentialById().

Best regards,
Mads


-- 
[image: ____________________________________________________________]
Mads Nielsen
Consultant
[email protected]
+45 50 98 18 09
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to