Skip to content

Commit

Permalink
Merge 7387f53 into 37d66fa
Browse files Browse the repository at this point in the history
  • Loading branch information
derek63 committed Jan 30, 2015
2 parents 37d66fa + 7387f53 commit 0df1155
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions metadata-mgmt-saml-auth/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@

<security-constraint>
<web-resource-collection>
<web-resource-name>Read operations</web-resource-name>
<web-resource-name>App operations</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>authenticated</role-name>
Expand All @@ -51,8 +52,19 @@

<security-constraint>
<web-resource-collection>
<web-resource-name>Write operations</web-resource-name>
<url-pattern>/*</url-pattern>
<web-resource-name>REST read operations</web-resource-name>
<url-pattern>/rest-request/*</url-pattern>
<http-method>GET</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>authenticated</role-name>
</auth-constraint>
</security-constraint>

<security-constraint>
<web-resource-collection>
<web-resource-name>REST write operations</web-resource-name>
<url-pattern>/rest-request/*</url-pattern>
<http-method>POST</http-method>
<http-method>PUT</http-method>
<http-method>DELETE</http-method>
Expand Down

0 comments on commit 0df1155

Please sign in to comment.