Package io.goobi.viewer.api.rest.filters
package io.goobi.viewer.api.rest.filters
-
ClassDescriptionChecks requests for access conditions.Only allows requests by sessisions belonging to a logged in goobi-viewer admin accountAllows requests authorized by an authrization tokenAdds an "Access-Control-Allow-Origin" header to a REST response with the value configured in
Configuration.getCORSHeaderValue()
Allows access to crowdsourcing campaign resources for sessions owned by a goobi-viewer user who has access to the campaign.Filter for all IIIF Presentation resources.Adds the @context property to all IIIF Presentation responses in the topmost json elementdefault implementation ofContentServerResponseFilter
to apply this filter in /api/v1/ environmentFilter for IIIF Image info.json requests.Forwards requests to IIIF image resources referencing a image number (Solr-field "ORDER") to a requests with the appropriate filenameAdds additional parameters to iiif contentServer requests as requestContext properties Parameters must be named "param:" followed by the name of the corresponding contentServer request parameterRequest filter for image requests.Response filter for PDF info requests.Request filter for PDF download requests.Only allow requests from a session with a logged in goobi-viewer user