UTF-8 support in HTTP Basic Authentication responses
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.