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 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.