summaryrefslogtreecommitdiff
path: root/aa-server.yaml
diff options
context:
space:
mode:
authorroot <root@ot-dev.in-silico.ch>2011-03-08 09:34:09 +0000
committerroot <root@ot-dev.in-silico.ch>2011-03-08 09:34:09 +0000
commit2f2f6bf857a8ca8ce04ee98b221b0feaa95d5284 (patch)
tree40562b109308fb9af5bbe71178d0ef219f42a763 /aa-server.yaml
parentd3cea0a0d792b76464b0760c879d61e91725c675 (diff)
updated for redis
Diffstat (limited to 'aa-server.yaml')
-rw-r--r--aa-server.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/aa-server.yaml b/aa-server.yaml
new file mode 100644
index 0000000..593ba56
--- /dev/null
+++ b/aa-server.yaml
@@ -0,0 +1,38 @@
+# OpenSSO Authorization
+# set ":server: " to disable A&A
+:authorization:
+ :server: AA
+ :free_request: #request-method not controlled by A&A
+ - "GET"
+ - "POST"
+ - "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:\/\/ESCAPEDSERVERNAME\/algorithm/
+ - "http://SERVERNAME/model"
+ - "http://SERVERNAME/validation"
+ - !ruby/regexp /http:\/\/ESCAPEDSERVERNAME\/validation\/[a-z,A-Z,\/,_\-]*$/
+ ? - :GET
+ - :POST
+ : - !ruby/regexp /http:\/\/ESCAPEDSERVERNAME\/toxcreate/
+ - !ruby/regexp /http:\/\/ESCAPEDSERVERNAME\/task/
+ - !ruby/regexp /http:\/\/ESCAPEDSERVERNAME\/compound/
+
+ ? - :PUT
+ : - !ruby/regexp /http:\/\/ESCAPEDSERVERNAME\/task/
+
+ :authorize_exceptions: #request-method for uri only authenticated, no authorization
+ ? - :POST
+ : - !ruby/regexp /http:\/\/ESCAPEDSERVERNAME\/algorithm/
+ - "http://SERVERNAME/dataset"
+ - "http://SERVERNAME/model"
+ - "http://SERVERNAME/validation"
+ - !ruby/regexp /http\:\/\/ESCAPEDSERVERNAME\/validation\/[a-z,A-Z,\/,_\-]*$/
+