cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Schneider (JIRA)" <>
Subject [jira] [Commented] (CXF-3635) WS-Trust SPNego (WCF message level spnego)
Date Wed, 06 Jul 2011 16:13:16 GMT


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
    AssertionBuilderRegistry reg = bus.getExtension(AssertionBuilderRegistry.class);
    client.getEndpoint().getEndpointInfo().setProperty("spnego.username", <username>);
    client.getEndpoint().getEndpointInfo().setProperty("spnego.password", <password>);
    client.getEndpoint().getEndpointInfo().setProperty("spnego.spn", <kerberos-spn>);
    client.getEndpoint().getEndpointInfo().setProperty("spnego.jass.client", <jass-clientname>);
    reg.register(new SpnegoContextTokenBuilder());
    pipr.register(new SpnegoContextTokenInterceptorProvider());

> WS-Trust SPNego (WCF message level spnego)
> ------------------------------------------
>                 Key: CXF-3635
>                 URL:
>             Project: CXF
>          Issue Type: New Feature
>          Components: WS-* Components
>    Affects Versions: 2.3.5
>            Reporter: Tom Schneider
>         Attachments:
> 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:


View raw message