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 5AA08EB3F for ; Thu, 24 Jan 2013 01:44:11 +0000 (UTC) Received: (qmail 64554 invoked by uid 500); 24 Jan 2013 01:44:11 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 64481 invoked by uid 500); 24 Jan 2013 01:44:11 -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 64468 invoked by uid 99); 24 Jan 2013 01:44:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 01:44:11 +0000 Date: Thu, 24 Jan 2013 01:44:11 +0000 (UTC) From: "Jason Pell (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CXF-4776) UsernameTokenPolicyValidator does not validate that password is not provided. 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-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Pell reassigned CXF-4776: ------------------------------- Assignee: Jason Pell > UsernameTokenPolicyValidator does not validate that password is not provided. > ----------------------------------------------------------------------------- > > Key: CXF-4776 > URL: https://issues.apache.org/jira/browse/CXF-4776 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Affects Versions: 2.7.2 > Reporter: Jason Pell > Assignee: Jason Pell > > See my attached WS-Policy which I attached via @Policies annotation to Placement.BINDING_OPERATION_INPUT. > If I include an incorrect Password I get the expected authentication error. If I actually remove the password I get no authentication failure. The UsernameTokenPolicyValidator only checks that the username is provided. > I have a simple patch for this but would appreciate some weigh in from ws-policy cxf devs please. -- 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