cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Ivanov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4540) Colon character in the password is not hanled properly in AbstractHTTPDestination class
Date Wed, 03 Oct 2012 14:34:07 GMT
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

Mime
View raw message