-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
There should be a way to easily say what should be sent to OPA in a request.
The idea is to have annotations that could look like this:
@OpaRequest(document = "http/authz")
public class MyOpaInput {
@HttpMethod
private String myMethodFieldName;
@HttpHeader("Authorization")
private String whatev;
}Applying it to a class would enable OpaFilter and would make it use this class as a template to send stuff to OPA.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request