{"roles": [ { "name": "admin", "functions": [ { "name": "actions", "methods": [ {"name": "GET"}, {"name": "DELETE"}, {"name": "PUT"} ] }, { "name": "getAndPublish", "methods": [{"name": "POST"}] } ], "users": [ {"username": "CN=common-name, OU=org-unit, O=org, L=location, ST=state, C=US"}, {"username": "CN=test, OU=qa, O=Test Ltd, L=London, ST=London, C=GB"} ] }, { "name": "ops", "functions": [{ "name": "actions", "methods": [{"name": "POST"}] }], "users": [ {"username": "CN=common-name, OU=org-unit, O=org, L=location, ST=state, C=US"}, {"username": "CN=test, OU=qa, O=Test Ltd, L=London, ST=London, C=GB"} ] }, { "name": "basicauth", "functions": [{ "name": "util", "methods": [{"name": "GET"}] }], "users": [{ "user": "aai", "pass": "OBF:1u2a1t2v1vgb1s3g1s3m1vgj1t3b1u30" }] }, { "name": "nofuncauth", "functions": [{ "name": "nofuncutil" }], "users": [{ "user": "aai", "pass": "OBF:1u2a1t2v1vgb1s3g1s3m1vgj1t3b1u30" }] } ]}