Skip to content

Instantly share code, notes, and snippets.

@EudesSilva
Created March 17, 2013 19:51
Show Gist options
  • Save EudesSilva/5183326 to your computer and use it in GitHub Desktop.
Save EudesSilva/5183326 to your computer and use it in GitHub Desktop.
Bloqueia o acesso as páginas xhtml puras, sem processamento.
<!-- Bloqueia o acesso à arquivos xhtml -->
<security-constraint>
<web-resource-collection>
<web-resource-name>xhtml files</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint/>
</security-constraint>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment