How to block access to specific URL's within an application in JBoss EAP 5?

Solution Verified - Updated -

Issue

  • Currently we are having a web application with a context /*. It have webpages and restful service endpoints. All our restful services we want to block from accessing by everyone. We want to allow only for specific IPs. How we can do? All restful services are in the following format <app_context>/rest/*.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.1.2

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.