summaryrefslogtreecommitdiff
path: root/lib/templates
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-02-10 08:51:15 +0100
committermr <mr@mrautenberg.de>2011-02-10 08:51:15 +0100
commit766d0eccb1a5d9f3016d9d85469dc68641b779ff (patch)
tree70de11cd344e948c8f8d3a354a2ff6b9bfc844cc /lib/templates
parent87fa8c2c74484d85da3f581929a603f31ecc92d0 (diff)
config.yaml with new settings for A&A
Diffstat (limited to 'lib/templates')
-rw-r--r--lib/templates/config.yaml38
1 files changed, 35 insertions, 3 deletions
diff --git a/lib/templates/config.yaml b/lib/templates/config.yaml
index 116f462..8a5e460 100644
--- a/lib/templates/config.yaml
+++ b/lib/templates/config.yaml
@@ -39,16 +39,48 @@
# Uncomment for verbose logging
# :logger: debug
-
+# :backtrace: 1
+
+
# OpenSSO Authorization
# set ":server: " to disable A&A
:authorization:
:server: "https://opensso.in-silico.ch"
- :free_request: #not controlled by A&A
- - "GET"
+ :free_request: #request-method not controlled by A&A
+ - "GET"
:authenticate_request: #only for authenticated user
- "POST"
:authorize_request: #only for authenticated and authorizeduser
- "DELETE"
- "PUT"
+ # Exceptions:
+ :free_uris: #request-method for uri not controlled by A&A
+ ? - :GET
+ : - !ruby/regexp /localhost\/algorithm/
+ - "http://localhost/dataset"
+ - "http://localhost/model"
+ - "http://localhost/validation"
+ - "http://localhost/validation/crossvalidation"
+ - "http://localhost/validation/reach_report"
+ - "http://localhost/validation/reach_report/crossvalidation"
+ - "http://localhost/validation/report"
+ - "http://localhost/validation/report/crossvalidation"
+ - "http://localhost/validation/reach_report/qmrf"
+ ? - :GET
+ - :POST
+ : - !ruby/regexp /localhost\/toxcreate/
+ - !ruby/regexp /localhost\/task/
+ - !ruby/regexp /localhost\/compound/
+ ? - :PUT
+ : - !ruby/regexp /localhost\/task/
+
+ :authorize_exceptions: #request-method for uri only authenticated, no authorization
+ ? - :POST
+ : - !ruby/regexp /localhost\/algorithm/
+ - "http://localhost/dataset"
+ - "http://localhost/model"
+ - "http://localhost/validation"
+ - !ruby/regexp /localhost\/validation\/[a-z,A-Z,\/,_\-]*$/
+
+
\ No newline at end of file