Guest User

Untitled

a guest
Dec 16th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. <security-constraint>
  2. <display-name>Allow unprotected OPTIONS</display-name>
  3. <web-resource-collection>
  4. <url-pattern>/*</url-pattern>
  5. <http-method>OPTIONS</http-method>
  6. </web-resource-collection>
  7. </security-constraint>
  8. <security-constraint>
  9. <web-resource-collection>
  10. <web-resource-name>white-listed-methods</web-resource-name>
  11. <url-pattern>/*</url-pattern>
  12. <http-method>GET</http-method>
  13. <http-method>POST</http-method>
  14. <http-method>PUT</http-method>
  15. <http-method>DELETE</http-method>
  16. </web-resource-collection>
  17. <auth-constraint>
  18. <role-name>PLATFORM Users</role-name>
  19. </auth-constraint>
  20. <user-data-constraint>
  21. <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  22. </user-data-constraint>
  23. </security-constraint>
  24. <login-config>
  25. <auth-method>BASIC</auth-method>
  26. <realm-name>My realm Realm</realm-name>
  27. </login-config>
  28. <security-role>
  29. <description>The role that is required to log in to the pages.</description>
  30. <role-name>PLATFORM Users</role-name>
  31. </security-role>
Add Comment
Please, Sign In to add comment