How to enable Content Security Policy (CSP) Header within HTTP Response in JBoss EAP

Solution Unverified - Updated -

Issue

  • Would like to configure the JBoss server to send the content-security-policy in the HTTP Response header. How do I go about doing this?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.X

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.