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 512D56287 for ; Wed, 6 Jul 2011 16:13:39 +0000 (UTC) Received: (qmail 46988 invoked by uid 500); 6 Jul 2011 16:13:39 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 46770 invoked by uid 500); 6 Jul 2011 16:13:38 -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 46753 invoked by uid 99); 6 Jul 2011 16:13:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 16:13:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 16:13:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C10CD45BC3 for ; Wed, 6 Jul 2011 16:13:16 +0000 (UTC) Date: Wed, 6 Jul 2011 16:13:16 +0000 (UTC) From: "Tom Schneider (JIRA)" To: issues@cxf.apache.org Message-ID: <1792750394.4416.1309968796787.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <167327214.4402.1309968317177.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-3635) WS-Trust SPNego (WCF message level spnego) 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-3635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060661#comment-13060661 ] Tom Schneider commented on CXF-3635: ------------------------------------ Here's a quick snippet on how to configure this code: Client client = ClientProxy.getClient(port); Bus bus = ((EndpointImpl) client.getEndpoint()).getBus(); PolicyInterceptorProviderRegistry pipr = bus .getExtension(PolicyInterceptorProviderRegistry.class); AssertionBuilderRegistry reg = bus.getExtension(AssertionBuilderRegistry.class); client.getEndpoint().getEndpointInfo().setProperty("spnego.username", ); client.getEndpoint().getEndpointInfo().setProperty("spnego.password", ); client.getEndpoint().getEndpointInfo().setProperty("spnego.spn", ); client.getEndpoint().getEndpointInfo().setProperty("spnego.jass.client", ); reg.register(new SpnegoContextTokenBuilder()); pipr.register(new SpnegoContextTokenInterceptorProvider()); > WS-Trust SPNego (WCF message level spnego) > ------------------------------------------ > > Key: CXF-3635 > URL: https://issues.apache.org/jira/browse/CXF-3635 > Project: CXF > Issue Type: New Feature > Components: WS-* Components > Affects Versions: 2.3.5 > Reporter: Tom Schneider > Attachments: cxf-wstrust-spnego.zip > > > We have spent time implementing SPNego over WS-Trust support for CXF and wish to submit it for possible inclusion in CXF itself. (Or at least as an example for others to follow) This was implemented so we could use the webservice of MS CRM 2011 when configured for 'on-premise' security, although I think WCF 4.0 uses this type of security by default if you explicitly change it. So I'm sure this functionality would be useful to others. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira