Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
adapt
ace
Commits
8aca7fa3
Commit
8aca7fa3
authored
Nov 09, 2016
by
Michael Ritter
Browse files
Update security constraints for REST endpoints
parent
b8c7ef9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ace-am/src/main/webapp/WEB-INF/web.xml
View file @
8aca7fa3
...
...
@@ -731,21 +731,59 @@
<role-name>
Modify System Settings
</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
<display-name>
Rest
</display-name>
<web-resource-collection>
<web-resource-name>
CollectionManagement
</web-resource-name>
<web-resource-name>
Rest Modify
</web-resource-name>
<description/>
<url-pattern>
/rest/collection/*
</url-pattern>
<http-method>
GET
</http-method>
<url-pattern>
/rest/collection
</url-pattern>
<url-pattern>
/rest/collection/modify/*
</url-pattern>
<url-pattern>
/rest/tokenstore/*
</url-pattern>
<url-pattern>
/rest/settings/*
</url-pattern>
<http-method>
POST
</http-method>
</web-resource-collection>
<auth-constraint>
<description/>
<role-name>
Collection Modify
</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>
Rest Browse
</web-resource-name>
<url-pattern>
/rest/collection/settings/*
</url-pattern>
<url-pattern>
/rest/settings/*
</url-pattern>
<http-method>
GET
</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>
Browse
</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>
Rest Audit
</web-resource-name>
<url-pattern>
/rest/collection/audit/*
</url-pattern>
<http-method>
POST
</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>
Audit
</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>
Rest Status
</web-resource-name>
<url-pattern>
/rest/groups
</url-pattern>
<url-pattern>
/rest/collections/by-group/*
</url-pattern>
<http-method>
GET
</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>
Status
</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>
BASIC
</auth-method>
<realm-name>
Audit Manager
</realm-name>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment