Project

General

Profile

Actions

Task #5177

closed

Feature #5033: Update adaptor list

Task #5172: New adaptor for Dirac

How to use Dirac user URL to build the Dirac credential

Added by Schwarz Lionel almost 11 years ago. Updated almost 11 years ago.

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 #1

Updated by Schwarz Lionel almost 11 years ago

  • Status changed from Assigned to Closed

The chosen solution is to ask for the token at adaptor.connect()

It does not matter to have a lot of tokens in the Dirac server.

There is no way to disable a token. If on day Dirac provides a disable-token command, it could be called in the disconnect().

Actions

Also available in: Atom PDF