Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <role rolename="myrole"/>
- <user username="myuser" password="mypassword" roles="myrole"/>
- <security-constraint>
- <web-resource-collection>
- <web-resource-name>MY WEBSITE</web-resource-name>
- <url-pattern>/*</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <auth-constraint>
- <role-name>myrole</role-name>
- </auth-constraint>
- </security-constraint>
- <login-config>
- <auth-method>BASIC</auth-method>
- </login-config>
- <security-role>
- <description>LOGIN</description>
- <role-name>myrole</role-name>
- </security-role>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement