summaryrefslogtreecommitdiff
path: root/production.yaml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-02-21 14:07:56 +0100
committerChristoph Helma <helma@in-silico.ch>2011-02-21 14:07:56 +0100
commit3ab2f8d8d61e2239d05c9a129f2c8df2efbcee0e (patch)
treeb3587af69952828f978e58717abce1e1da9bbc4e /production.yaml
parent4ee811f89b6a0c67b7028a1cc105ba1377a55f6d (diff)
new configuration added
Diffstat (limited to 'production.yaml')
-rw-r--r--production.yaml40
1 files changed, 34 insertions, 6 deletions
diff --git a/production.yaml b/production.yaml
index 354f903..b1f59de 100644
--- a/production.yaml
+++ b/production.yaml
@@ -26,17 +26,45 @@
# Uncomment for verbose logging
LOGGER
-# :logger: debug
+#:logger: debug
+#:backtrace: true
# OpenSSO Authorization
-# set ":server: nil" to disable A&A
+# set ":server: " to disable A&A
:authorization:
:server: AA
- :free_request: #not controlled by A&A
- - "GET"
- :authenticate_request: #only for authenticated user
+ :free_request: #request-method not controlled by A&A
+ - "GET"
- "POST"
- :authorize_request: #only for authenticated and authorizeduser
+ - "HEAD"
- "DELETE"
- "PUT"
+ :authenticate_request: #only for authenticated user
+ - ""
+ :authorize_request: #only for authenticated and authorizeduser
+ - ""
+# Exceptions:
+ :free_uris: #request-method for uri not controlled by A&A
+ ? - :GET
+ : - !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/algorithm/
+ - "http://in-silico.ch/dataset"
+ - "http://ot-dev.in-silico.ch/model"
+ - "http://ot-dev.in-silico.ch/validation"
+ - !ruby/regexp /http:\/\/ot\-dev\.in-silico\.ch\/validation\/[a-z,A-Z,\/,_\-]*$/
+ ? - :GET
+ - :POST
+ : - !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/toxcreate/
+ - !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/task/
+ - !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/compound/
+
+ ? - :PUT
+ : - !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/task/
+
+ :authorize_exceptions: #request-method for uri only authenticated, no authorization
+ ? - :POST
+ : - !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/algorithm/
+ - "http://ot-dev.in-silico.ch/dataset"
+ - "http://ot-dev.in-silico.ch/model"
+ - "http://ot-dev.in-silico.ch/validation"
+ - !ruby/regexp /http\:\/\/ot-dev\.in\-silico\.ch\/validation\/[a-z,A-Z,\/,_\-]*$/