Restricting remote address for multiple web applications on JBoss

Solution Verified - Updated -

Issue

We are putting an IP-based restriction in each web application using RemoteAddrValve. To avoid adding it to each service we tried configuring it at the server level in deploy/jbossweb.sar/context.xml, however that also restricts the admin-console.

How can we externalise the IP address restriction for some applications?

Environment

  • JBoss Enterprise Application Platform (EAP) 5.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.