Boris Ivanov created CXF-4540:
---------------------------------
Summary: Colon character in the password is not hanled properly in
AbstractHTTPDestination class
Key: CXF-4540
URL: https://issues.apache.org/jira/browse/CXF-4540
Project: CXF
Issue Type: Bug
Components: Transports
Reporter: Boris Ivanov
If the user password contains colon character then the
org.apache.cxf.configuration.security.AuthorizationPolicy.getPassword() method
returns only the substring before the colon character.
The issue is in the following class:
org.apache.cxf.transport.http.AbstractHTTPDestination
In method getAuthorizationPolicyFromMessage(String credentials) the credentials
are split by colon. Then only the second element of the array is set as
password, but in this case the elements are more then two.
Example of credentials:
"Aladin:Test:1234"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira