Customise WWW-Authenticate header for Basic authentication

Solution Unverified - Updated -

Issue

  • The browsers show a native login dialogue whenever the server returns a WWW-Authenticate: Basic xxxx header.The way to suppress this behaviour across all browsers is to change the value of the challenge from Basic to something else, for example X-Basic would work.We would like to know how can we achieve this using JBoss?

Environment

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

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