How to enable Cross-Origin Resource Sharing (CORS) for RESTful web services on EAP 6
Issue
- How do you enable Cross-Origin Resource Sharing (CORS) on JBoss EAP 6 ?
- We have EAR files deployed that we utilise through REST queries.
- We would like to create a management web site that utilises those REST queries - but the browser restriction for CORS is stopping us.
- Hence we would like to see if we could enable this for the JBoss server.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
