1 |
5833
|
leinfelder
|
# Default REST security configuration.
|
2 |
|
|
#
|
3 |
|
|
# By default this configuration locks down every rest call. The following is an example of a more
|
4 |
|
|
# lax configuration in which read only (GET) access is allowed anonymously:
|
5 |
|
|
#
|
6 |
|
|
#/**;GET=IS_AUTHENTICATED_ANONYMOUSLY
|
7 |
|
|
#/**;POST,DELETE,PUT=ROLE_ADMINISTRATOR
|
8 |
|
|
#
|
9 |
|
|
# The following is an example of a configuration that could be used with the restconfig plugin in
|
10 |
|
|
# which only configuration in a specific workspace is restricted:
|
11 |
|
|
#
|
12 |
|
|
#/rest/workspaces/topp*;GET=ROLE_ADMINISTRATOR
|
13 |
|
|
#/rest/workspaces/topp/**;GET=ROLE_ADMINISTRATOR
|
14 |
|
|
#/**;POST,DELETE,PUT=ROLE_ADMINISTRATOR
|
15 |
|
|
#
|
16 |
|
|
#
|
17 |
|
|
/**;GET=ROLE_ADMINISTRATOR
|
18 |
|
|
/**;POST,DELETE,PUT=ROLE_ADMINISTRATOR
|