How to set HTTP Headers like X-Frame-Options in EAP 7?

Solution Verified - Updated -

Issue

  • X-Frame-Options header is not included in the HTTP response to protect against 'ClickJacking' attacks
  • We recently had a penetration test done of your JBoss EAP 7 systems and the issue of XSS protection was raised
  • We need to add http response headers to fix QID-11827

Environment

  • Red Hat Enterprise Application Platform 7

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.