diff options
author | Ade Lee <alee@redhat.com> | 2012-08-10 13:56:30 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-08-10 14:01:33 -0400 |
commit | 653a4a6acfbbfbe72b3793ddaba71378fd0f44a5 (patch) | |
tree | 2fe35976256dbe3ae9473834b995af547de34ec9 | |
parent | 1a4982f584012a7efd2882dccb68ab93736e99e9 (diff) | |
download | pki-653a4a6acfbbfbe72b3793ddaba71378fd0f44a5.tar.gz pki-653a4a6acfbbfbe72b3793ddaba71378fd0f44a5.tar.xz pki-653a4a6acfbbfbe72b3793ddaba71378fd0f44a5.zip |
Changes to allow installation of ocsp and tks
4 files changed, 20 insertions, 4 deletions
diff --git a/base/ocsp/shared/webapps/ocsp/WEB-INF/auth.properties b/base/ocsp/shared/webapps/ocsp/WEB-INF/auth.properties new file mode 100644 index 000000000..3a85e209f --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/WEB-INF/auth.properties @@ -0,0 +1,8 @@ +# Restful API auth/authz mapping info +# +# Format: +# <Rest API URL> = <ACL Resource ID>,<ACL resource operation> +# ex: /kra/pki/key/retrieve = certServer.kra.pki.key.retrieve,execute + +/ocsp/rest/admin/users = certServer.ocsp.users,execute +/ocsp/rest/admin/groups = certServer.ocsp.groups,execute diff --git a/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml b/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml index cb18574b3..b1e625975 100644 --- a/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml +++ b/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml @@ -410,7 +410,7 @@ <context-param> <param-name>resteasy.servlet.mapping.prefix</param-name> - <param-value>/pki</param-value> + <param-value>/rest</param-value> </context-param> <context-param> @@ -431,7 +431,7 @@ <servlet-mapping> <servlet-name>Resteasy</servlet-name> - <url-pattern>/pki/*</url-pattern> + <url-pattern>/rest/*</url-pattern> </servlet-mapping> <servlet-mapping> diff --git a/base/tks/shared/webapps/tks/WEB-INF/auth.properties b/base/tks/shared/webapps/tks/WEB-INF/auth.properties new file mode 100644 index 000000000..29dc9f3fc --- /dev/null +++ b/base/tks/shared/webapps/tks/WEB-INF/auth.properties @@ -0,0 +1,8 @@ +# Restful API auth/authz mapping info +# +# Format: +# <Rest API URL> = <ACL Resource ID>,<ACL resource operation> +# ex: /kra/pki/key/retrieve = certServer.kra.pki.key.retrieve,execute + +/tks/rest/admin/users = certServer.tks.users,execute +/tks/rest/admin/groups = certServer.tks.groups,execute diff --git a/base/tks/shared/webapps/tks/WEB-INF/web.xml b/base/tks/shared/webapps/tks/WEB-INF/web.xml index 20874de45..80bb24bc1 100644 --- a/base/tks/shared/webapps/tks/WEB-INF/web.xml +++ b/base/tks/shared/webapps/tks/WEB-INF/web.xml @@ -279,7 +279,7 @@ <context-param> <param-name>resteasy.servlet.mapping.prefix</param-name> - <param-value>/pki</param-value> + <param-value>/rest</param-value> </context-param> <context-param> @@ -300,7 +300,7 @@ <servlet-mapping> <servlet-name>Resteasy</servlet-name> - <url-pattern>/pki/*</url-pattern> + <url-pattern>/rest/*</url-pattern> </servlet-mapping> <servlet-mapping> |