Restricting remote address for multiple web applications on JBoss
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, tools, and much more.