[disclamer] I am not a Java developer. I could miss obvious points
I am writing a library to protect REST APIs exposed by a wso2 ESB (v.6.5.0) with a