Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02369D47A for ; Wed, 3 Oct 2012 15:46:08 +0000 (UTC) Received: (qmail 89614 invoked by uid 500); 3 Oct 2012 15:46:07 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 89588 invoked by uid 500); 3 Oct 2012 15:46:07 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 89579 invoked by uid 99); 3 Oct 2012 15:46:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 15:46:07 +0000 Date: Thu, 4 Oct 2012 02:46:07 +1100 (NCT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: <1455288154.159323.1349279167865.JavaMail.jiratomcat@arcas> In-Reply-To: <1180969030.159178.1349274847741.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CXF-4540) Colon character in the password is not hanled properly in AbstractHTTPDestination class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-4540. ------------------------------ Resolution: Fixed Fix Version/s: 2.6.3 2.5.6 2.4.10 Assignee: Daniel Kulp > 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 > Assignee: Daniel Kulp > Fix For: 2.4.10, 2.5.6, 2.6.3 > > > 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