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 0F075F319 for ; Mon, 29 Apr 2013 21:34:17 +0000 (UTC) Received: (qmail 76347 invoked by uid 500); 29 Apr 2013 21:34:17 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 76267 invoked by uid 500); 29 Apr 2013 21:34:16 -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 76256 invoked by uid 99); 29 Apr 2013 21:34:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 21:34:16 +0000 Date: Mon, 29 Apr 2013 21:34:16 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-4977) Client for .Net WCF using both WS-Trust and WS-SecureConversation 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-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644897#comment-13644897 ] Daniel Kulp commented on CXF-4977: ---------------------------------- Colm, I fixed the SecurityContext thing so the test now passes. Can you take a quick look to make sure I didn't do anything completely wrong? > Client for .Net WCF using both WS-Trust and WS-SecureConversation > ----------------------------------------------------------------- > > Key: CXF-4977 > URL: https://issues.apache.org/jira/browse/CXF-4977 > Project: CXF > Issue Type: Bug > Components: STS, WS-* Components > Reporter: Kristof Janssens > Assignee: Colm O hEigeartaigh > Attachments: client_log_cxf.xml, client_log_net.saz, cxf_client.xml, service.wsdl, trust.wsdl > > > I'm trying to create a client for a .Net WCF service with WS-Trust and WS-SecureConversation. > The client that I need for this webservice, has to follow the next steps: > 1. Ask a security token from the STS server > 2. Receive the security token from the STS server if client is authenticated > 3. With this security token, ask for a context token from the WCF webservice > 4. If security token is validated, receive a context token from the WCF webservice > 5. Start using the WCF webservice using the granted context token. > The CXF client I've written, doesn't perform steps 3 and 4. > In the WCF server config, this is the security profile: > WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10 > INfo about the attached files: > client_log_cxf.xml: logfile from my CXF client > client_log_net_saz: fiddler logfile from a working .Net client > cxf_client.xml: my client cxf configfile > service.wsdl: WSDL for the WCF webservice > trust.wsdl: WSDL for the STS service -- 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