blob: ee75705fbd18bf2eefbe84b6f8a8f4e2657a941d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# OpenSSO Authorization
# set ":server: " to disable A&A
:authorization:
:server: AA
:free_request: #request-method not controlled by A&A
- "HEAD"
- "DELETE"
- "PUT"
:authenticate_request: #only for authenticated user
- ""
:authorize_request: #only for authenticated and authorizeduser
- "GET"
- "POST"
# Exceptions:
:free_uris: #request-method for uri not controlled by A&A
? - :GET
: - !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/algorithm/
- "http://SERVERNAMENGINX_PORT/model"
- "http://SERVERNAMENGINX_PORT/dataset"
- "http://SERVERNAMENGINX_PORT/validation"
- !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/validation\/resources/
- !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/validation\/[a-z,A-Z,\/,_\-]*$/
? - :GET
- :POST
: - !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/toxcreate\/[a-z,A-Z,\/,_\-]*$/
- !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/task/
- !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/compound/
- !ruby/regexp /sign_(in|out)$/
? - :PUT
: - !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/task/
? - :DELETE
: - "http://SERVERNAMENGINX_PORT/task/cleanup"
:authorize_exceptions: #request-method for uri only authenticated, no authorization
? - :POST
: - !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/algorithm/
- "http://SERVERNAMENGINX_PORT/dataset"
- "http://SERVERNAMENGINX_PORT/model"
- "http://SERVERNAMENGINX_PORT/validation"
- !ruby/regexp /http\:\/\/ESCAPEDSERVERNGINX_PORT\/validation\/[a-z,A-Z,\/,_\-]*$/
|