How does one set directory-level permissions for a Tomcat instance or JBoss (embedded Tomcat)?

Solution Verified - Updated -


  • We are familiar with setting these permissions via Apache, using "Allow from" and "Deny from" directives within Directory or Location blocks. However, we are not familiar with how this can be configured in the embedded Tomcat instance.


  • JBoss Enterprise Application Platform
    • 4.X
    • 5.x
  • Apache Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content