UTF-8 support in HTTP Basic Authentication responses

Solution Verified - Updated -

Issue

  • Basic authentication with non ascii characters failing
  • Using HTTP Basic Authentication, if a user name or a password is in arabic the authentication does not work.
  • In the "Authorization: Basic" HTTP header, the client encodes the username and password using UTF-8 and the server is using the default platform encoding to decode the password.

Environment

  • JBoss Enterprise Application Platform
  • JBoss Enterprise Web Platform
  • using BASIC or DIGEST authentication mechanism

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