Updating the acl (Access Control List) resources requires a validation against a schema to be positive. Check the schema gateleen_security_schema_acl
To log the payload of changes to the acl configurations, the RequestLogger can be used.
Make sure to instantiate the RequestLoggingConsumer by calling
RequestLoggingConsumer requestLoggingConsumer = new RequestLoggingConsumer(vertx, loggingResourceManager);
To enable the logging of the acl configurations, make sure the url to the acl configuration is enabled in the logging resource.
Example:
{
"headers": [],
"payload": {
"filters": [
{
"url": "/playground/server/security/v1/acls/.*",
"method": "PUT"
}
]
}
}
Also you have to enable the logging on the Authorizer by calling
authorizer.enableResourceLogging(true);