How do I add HTTP response headers to my application?

Solution Unverified - Updated -

Issue

  • I'm using CyberArk Enterprise Password Vault (EPV) and have a requirement for JBoss to add the following HTTP Headers to all responses from my application:
     Access-Control-Allow-Origin=https://192.168.1.1
     Access-Control-Allow-Methods=GET,PUT,POST,DELETE,OPTIONS
     Access-Control-Allow-Headers=Content-Type
  • I'm running into this issue with Microsoft Internet Explorer, and want to try the suggested workaround:

    "Reduce the occurrence of this problem by increasing the content expiration period on the IIS Web server so that the Web page will remain cached for several days. "

    http://support.microsoft.com/kb/937480

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)

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