Package com.styra.opa.springboot.input
Interface OPAInputActionCustomizer
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
By defining a bean which implements this interface, clients could customize OPA 
input.action.- 
Method Summary
Modifier and TypeMethodDescriptioncustomize(Authentication authentication, RequestAuthorizationContext requestAuthorizationContext, Map<String, Object> action) CustomizesactionMap. 
- 
Method Details
- 
customize
Map<String,Object> customize(Authentication authentication, RequestAuthorizationContext requestAuthorizationContext, Map<String, Object> action) CustomizesactionMap.- Parameters:
 action- contains:- "name": 
HttpServletRequest.getMethod() - "protocol": 
ServletRequest.getProtocol() - "headers": 
HttpServletRequestheaders 
- "name": 
 - Returns:
 - should at least contains this key:
 
 
 -