Package org.opengrok.web.api.v1.filter
package org.opengrok.web.api.v1.filter
-
ClassDescriptionThis decorator is to enable CORS for paths.This filter allows the request in case it contains the correct authentication bearer token (needs to come in via HTTPS) or it is coming from localhost or its path matches the list of built in paths.Serves for authorization of REST API endpoints that have a path parameter which is file path relative to source root.Serves for authorization of REST API endpoints that have a path parameter.