summaryrefslogtreecommitdiffstats
path: root/validation/appconfig/auth
diff options
context:
space:
mode:
authorPierre Rioux <pierre.rioux@amdocs.com>2018-08-21 11:26:24 -0400
committerPierre Rioux <pierre.rioux@amdocs.com>2018-08-21 13:47:57 -0400
commit45e6d606b4f6275a19ce8962ad2be9399f96ba51 (patch)
tree3cd7bfb61cbe2a0bd6fb6e8c6bcdcde2d3b663be /validation/appconfig/auth
parent21b8fdf3f19bbc0e86fdf407cc528e5409b24165 (diff)
[LOG-427] adding validation-service appconfig
Change-Id: I8652cf095c6a27a22e597a859d96822f9a3877ea Issue-ID: LOG-427 Signed-off-by: Pierre Rioux <pierre.rioux@amdocs.com>
Diffstat (limited to 'validation/appconfig/auth')
-rw-r--r--validation/appconfig/auth/auth_policy.json45
-rw-r--r--validation/appconfig/auth/client-cert-onap.p12bin0 -> 2556 bytes
-rw-r--r--validation/appconfig/auth/tomcat_keystorebin0 -> 2214 bytes
3 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
diff --git a/validation/appconfig/auth/client-cert-onap.p12 b/validation/appconfig/auth/client-cert-onap.p12
new file mode 100644
index 0000000..dbf4fca
--- /dev/null
+++ b/validation/appconfig/auth/client-cert-onap.p12
Binary files differ
diff --git a/validation/appconfig/auth/tomcat_keystore b/validation/appconfig/auth/tomcat_keystore
new file mode 100644
index 0000000..9eec841
--- /dev/null
+++ b/validation/appconfig/auth/tomcat_keystore
Binary files differ