Skip to content

Change authentication to SAM, Metacat, DataDispatcher, etc. to managed tokens #102

Description

@marcmengel

Given the current discussions about InCommon changing their certs to no longer be functional as client certs, we should look into updating the code to use managed tokens to contact the various services. This may be further complicated by possibly having to use a separate managed token for each experiment. For SAM, that means updating the "samweb_lite.py" code to pass token authentication, reading the token from the appropriate experiments token file; for data_dispatcher and metacat, that means calling the login_token() routine instead of login_x509(), and again getting the token from the appropriate experiment's token file.

For efficiency, we might want a routine that caches the token file text for short periods of time (30 seconds?) so as not to be opening the token file quite so often, but we want to avoid caching it long enough that we would be using an expired one when there is a fresh one on the filesystem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions