diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2013-02-01 13:05:38 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2013-02-18 14:15:58 -0500 |
commit | ba75a144f4c57c0e804fdd6e86eaae40e5822b14 (patch) | |
tree | 8e6f482f02a68171b3b49c84dffcb9634fb540ce /base/ocsp | |
parent | db56da6d015d4fc040d73277c68fea590c5929b7 (diff) | |
download | pki-ba75a144f4c57c0e804fdd6e86eaae40e5822b14.tar.gz pki-ba75a144f4c57c0e804fdd6e86eaae40e5822b14.tar.xz pki-ba75a144f4c57c0e804fdd6e86eaae40e5822b14.zip |
Added configuration file for authentication method validation.ticket-477-6
The auth.properties have been converted into a configuration file to store the
list of allowed authentication methods for each REST method.
The old auth.properties have been renamed to acl.properties since it's used to
store ACL mappings.
Ticket #510
Diffstat (limited to 'base/ocsp')
-rw-r--r-- | base/ocsp/shared/webapps/ocsp/WEB-INF/acl.properties (renamed from base/ocsp/shared/webapps/ocsp/WEB-INF/auth.properties) | 0 | ||||
-rw-r--r-- | base/ocsp/shared/webapps/ocsp/WEB-INF/auth-method.properties | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/base/ocsp/shared/webapps/ocsp/WEB-INF/auth.properties b/base/ocsp/shared/webapps/ocsp/WEB-INF/acl.properties index 95fabba72..95fabba72 100644 --- a/base/ocsp/shared/webapps/ocsp/WEB-INF/auth.properties +++ b/base/ocsp/shared/webapps/ocsp/WEB-INF/acl.properties diff --git a/base/ocsp/shared/webapps/ocsp/WEB-INF/auth-method.properties b/base/ocsp/shared/webapps/ocsp/WEB-INF/auth-method.properties new file mode 100644 index 000000000..81e24403f --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/WEB-INF/auth-method.properties @@ -0,0 +1,9 @@ +# Restful API auth mapping info +# +# Format: +# <mapping name> = <allowed auth methods> +# ex: admin.users = certUserDBAuthMgr,passwdUserDBAuthMgr + +default = * +account = certUserDBAuthMgr,passwdUserDBAuthMgr +admin = certUserDBAuthMgr |