Project

General

Profile

Actions

Feature #5240

open

[Dirac] autorefresh token

Added by Schwarz Lionel over 11 years ago.

Status:
New
Priority:
Low
Assigned To:
Category:
Other grid adaptors
Target version:
-
Start date:
10/04/2013
Due date:
% Done:

0%

Estimated time:

Description

access_token has 24h validity.
to implement autorefresh:
- move code of DiracRESTClient to AdaptorAbstract
- catch HTTP_401 (not authorized) in getStream and throw AuthenticationFailedException
- catch AuthenticationFailedException in doRequest() and redo request. if 2nd attempt gives AuthenticationFailedException, throw it.

No data to display

Actions

Also available in: Atom PDF