JBoss EAP で実行している JSF アプリケーションの "X-Powered-By:JSF/1.2" http response ヘッダーを削除する方法

Solution Verified - Updated -

Issue

  • JBoss EAP で実行している JSF アプリケーションのレスポンスに含まれる HTTP ヘッダ "X-Powered-By:JSF/1.2"を削除するにはどうすればいいでしょうか?
         HTTP/1.1 200 OK
         Server:Apache-Coyote/1.1
         X-Powered-By:Servlet 2.5; JBoss-5.0/JBossWeb-2.1
         X-Powered-By:JSF/1.2
         Content-Type: text/html;charset=UTF-8
         Transfer-Encoding: chunked

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.2
    • 4.3
    • 5
  • JSF

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.