summaryrefslogtreecommitdiffstats
path: root/base/ocsp/shared/webapps/ocsp/WEB-INF/auth-method.properties
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2013-02-01 13:05:38 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2013-02-18 14:15:58 -0500
commitba75a144f4c57c0e804fdd6e86eaae40e5822b14 (patch)
tree8e6f482f02a68171b3b49c84dffcb9634fb540ce /base/ocsp/shared/webapps/ocsp/WEB-INF/auth-method.properties
parentdb56da6d015d4fc040d73277c68fea590c5929b7 (diff)
downloadpki-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/shared/webapps/ocsp/WEB-INF/auth-method.properties')
-rw-r--r--base/ocsp/shared/webapps/ocsp/WEB-INF/auth-method.properties9
1 files changed, 9 insertions, 0 deletions
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