This repository was archived by the owner on Apr 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
This repository was archived by the owner on Apr 9, 2021. It is now read-only.
fed: AAI #46
Copy link
Copy link
Open
Milestone
Description
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:passwordto the client eida-federatortoken context specific credentials
fdsnws/dataselect/queryauth(HTTPS):- HTTP Digest authentication
- Fetch routes from
stationlite(restriction=closed):- Check if credentials are
eida-federatortoken specific - credentials matching
eida-federatortoken:- Use token for the endpoints
fdsnws/dataselect/authmethod -> temporary credentials forfdsnws/dataselect/queryauthare created (at endpoints) eida-federatorstores credentials (endpoint specific)- request data from endpoint’s
fdsnws/dataselect/queryauthmethod with corresponding credentials
- Use token for the endpoints
- credentials not matching:
request data from endpoint'sfdsnws/dataselect/queryauthmethod 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
- Check if credentials are
- Fetch routes from
stationlite(restriction=open):- request data from endpoint’s
fdsnws/dataselect/querymethod
- request data from endpoint’s
- Best effort approach: Return accessible data (if available)
Reactions are currently unavailable