How to enable Cross-Origin Resource Sharing (CORS) in JBoss EAP 6 ?

Solution Unverified - Updated -

Issue

  • Looking for instructions to enable Cross-Origin Resource Sharing (CORS) on JBoss EAP 6
  • We need to have CORS enabled on current JBoss.
  • Is there a default filter for JBOSS EAP 6.1.1 like we have for tomcat (org.apache.catalina.filters.CorsFilter)

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.

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.