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, 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