Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

fed: AAI #46

@damb

Description

@damb

This is a proposal of @damb and @kaestli from the ETC meeting at Grenoble (09/2018). Comments are welcome.

  • Two new methods
  • fdsnws/dataselect/auth (HTTPS):
    • Token based authentication (e.g. OAuth2)
    • Store the token locally and return username:password to the client
    • eida-federator token context specific credentials
  • fdsnws/dataselect/queryauth (HTTPS):
    • HTTP Digest authentication
    • Fetch routes from stationlite (restriction=closed):
      • Check if credentials are eida-federator token specific
      • credentials matching eida-federator token:
        • Use token for the endpoints fdsnws/dataselect/auth method -> temporary credentials for fdsnws/dataselect/queryauth are created (at endpoints)
        • eida-federator stores credentials (endpoint specific)
        • request data from endpoint’s fdsnws/dataselect/queryauth method with corresponding credentials
      • credentials not matching:
        • request data from endpoint's fdsnws/dataselect/queryauth method with credentials passed
        • return either HTTP status code 200 or 204 (depending if there is data available); returning HTTP status code 403 would only be possible if a) no matching token is available and b) only restricted data was requested; status codes are specified by the FDSNWS specs
    • Fetch routes from stationlite (restriction=open):
      • request data from endpoint’s fdsnws/dataselect/query method
    • Best effort approach: Return accessible data (if available)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions