diff options
author | Tian Lee <TianL@amdocs.com> | 2018-08-22 09:12:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-22 09:12:27 +0000 |
commit | f05ec03672d7367520cd9a67a675364c4d19b1d3 (patch) | |
tree | a14e61aa1b71338c60c3a99e1bdda0dd0a249c9c /validation/appconfig/auth/auth_policy.json | |
parent | 3c8969873f80c2e18d83213a10d84ee84fe5a942 (diff) | |
parent | 45e6d606b4f6275a19ce8962ad2be9399f96ba51 (diff) |
Merge "[LOG-427] adding validation-service appconfig"
Diffstat (limited to 'validation/appconfig/auth/auth_policy.json')
-rw-r--r-- | validation/appconfig/auth/auth_policy.json | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/validation/appconfig/auth/auth_policy.json b/validation/appconfig/auth/auth_policy.json new file mode 100644 index 0000000..dadf170 --- /dev/null +++ b/validation/appconfig/auth/auth_policy.json @@ -0,0 +1,45 @@ +{"roles": [ + { + "name": "admin", + "functions": [ + { + "name": "actions", + "methods": [ + {"name": "GET"}, + {"name": "DELETE"}, + {"name": "PUT"} + ] + }, + { + "name": "validate", + "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" + }] + } +]}
\ No newline at end of file |