Skip to content

Instantly share code, notes, and snippets.

@roycef
Created January 12, 2011 14:56
Show Gist options
  • Save roycef/776250 to your computer and use it in GitHub Desktop.
Save roycef/776250 to your computer and use it in GitHub Desktop.
Security Constraint in web.xml - Google App Engine Java
<!-- place this in your web.xml file -->
<security-constraint>
<web-resource-collection>
<url-pattern>/data/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment