Actions
Task #5177
closedFeature #5033: Update adaptor list
Task #5172: New adaptor for Dirac
How to use Dirac user URL to build the Dirac credential
Status:
Closed
Priority:
Normal
Assigned To:
Category:
Other grid adaptors
Target version:
Start date:
10/01/2013
Due date:
% Done:
0%
Estimated time:
Description
When building the credential, the security adaptor needs the user URL in order to get the appropriate token:
http://dirac_host/oauth2/token
with the certificate.
It is not possible to do this in createSecurityCredential() because we do not have the URL (host and port), except if we define it in the context and in the job service attributes URLs.
Another possibility is to not create the token in the createSecurityCredential() method but rather in the connect() method of the job adaptor. The drawback of this solution is that the token will be requested every time.
Actions