diff options
author | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-12-07 18:13:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-12-07 18:13:10 +0000 |
commit | a3813832985a30642d56b4ae49fe45d4170ece0d (patch) | |
tree | f746fc88a535492eeb18da717f4c3bf6c811aa0b /charts/aai-babel/resources/rproxy/config/auth | |
parent | 3535168b237838e1d2dbd5582709044385617d7d (diff) | |
parent | 036f61841fbc196eb3d81cc2ce7cd0d106e776e4 (diff) |
Merge "Adding pluggable security to Babel"
Diffstat (limited to 'charts/aai-babel/resources/rproxy/config/auth')
-rw-r--r-- | charts/aai-babel/resources/rproxy/config/auth/client-cert.p12 | bin | 0 -> 2556 bytes | |||
-rw-r--r-- | charts/aai-babel/resources/rproxy/config/auth/tomcat_keystore | bin | 0 -> 3594 bytes | |||
-rw-r--r-- | charts/aai-babel/resources/rproxy/config/auth/uri-authorization.json | 93 |
3 files changed, 93 insertions, 0 deletions
diff --git a/charts/aai-babel/resources/rproxy/config/auth/client-cert.p12 b/charts/aai-babel/resources/rproxy/config/auth/client-cert.p12 Binary files differnew file mode 100644 index 0000000..dbf4fca --- /dev/null +++ b/charts/aai-babel/resources/rproxy/config/auth/client-cert.p12 diff --git a/charts/aai-babel/resources/rproxy/config/auth/tomcat_keystore b/charts/aai-babel/resources/rproxy/config/auth/tomcat_keystore Binary files differnew file mode 100644 index 0000000..99129c1 --- /dev/null +++ b/charts/aai-babel/resources/rproxy/config/auth/tomcat_keystore diff --git a/charts/aai-babel/resources/rproxy/config/auth/uri-authorization.json b/charts/aai-babel/resources/rproxy/config/auth/uri-authorization.json new file mode 100644 index 0000000..acc9409 --- /dev/null +++ b/charts/aai-babel/resources/rproxy/config/auth/uri-authorization.json @@ -0,0 +1,93 @@ +[ + { + "uri": "\/not\/allowed\/at\/all$", + "permissions": [ + "test.auth.access.ifYouLikedItYouShouldHavePutAPermissionOnIt" + ] + }, + { + "uri": "\/one\/auth\/required$", + "permissions": [ + "test.auth.access.aSimpleSingleAuth" + ] + }, + { + "uri": "\/multi\/auth\/required$", + "permissions": [ + "test.auth.access.aMultipleAuth1", + "test.auth.access.aMultipleAuth2", + "test.auth.access.aMultipleAuth3" + ] + }, + { + "uri": "\/one\/[^\/]+\/required$", + "permissions": [ + "test.auth.access.aSimpleSingleAuth" + ] + }, + { + "uri": "\/services\/getAAFRequest$", + "permissions": [ + "test.auth.access|services|GET,PUT" + ] + }, + { + "uri": "\/admin\/getAAFRequest$", + "permissions": [ + "test.auth.access|admin|GET,PUT,POST" + ] + }, + { + "uri": "\/service\/aai\/webapp\/index.html$", + "permissions": [ + "test.auth.access|services|GET,PUT" + ] + }, + { + "uri": "\/services\/aai\/webapp\/index.html$", + "permissions": [ + "test.auth.access|services|GET,PUT" + ] + }, + { + "uri": "\/$", + "permissions": [ + "\\|services\\|GET", + "test\\.auth\\.access\\|services\\|GET,PUT" + ] + }, + { + "uri": "\/aai\/v10\/cloud-infrastructure\/cloud-regions$", + "permissions": [ + "test\\.auth\\.access\\|rest\\|read" + ] + }, + { + "uri": "\/aai\/v10\/cloud-infrastructure\/cloud-regions\/cloud-region\/[^\/]+[\/][^\/]+$*", + "permissions": [ + "test.auth.access|clouds|read", + "test.auth.access|tenants|read" + ] + }, + { + "uri": "\/aai\/v10\/cloud-infrastructure\/cloud-regions\/cloud-region\/[^\/]+[\/][^\/]+\/tenants/tenant/[^\/]+/vservers/vserver/[^\/]+$", + "permissions": [ + "test.auth.access|clouds|read", + "test.auth.access|tenants|read", + "test.auth.access|vservers|read" + ] + }, + { + "uri": "\/backend$", + "permissions": [ + "test\\.auth\\.access\\|services\\|GET,PUT", + "\\|services\\|GET" + ] + }, + { + "uri": "\/services\/babel-service\/.*", + "permissions": [ + "org\\.access\\|\\*\\|\\*" + ] + } +] |