deegree3
deegree3 copied to clipboard
Added ApiKey/Token authentication
Enables authentication via X-API-Key when REST interface is used.
A few small remarks:
- Documentation is missing.
- Having a read-only workspace configuration implicitly disables access to the API.
- ConfigServlet.token is a static field. It should be non static and initialized in the init method.
In addition, there is the question of how this should be handled in the context of the existing protection for deegree rest-api.
https://github.com/deegree/deegree3/blob/92ac14c2fc67784b06507cf11b4c4a8fd5939bf9/deegree-services/deegree-webservices/src/main/webapp/WEB-INF/web.xml#L78-L96
I am closing this in favor of the reworked #1498