How do I add HTTP response headers to my application?
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. "
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
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.
