cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aris Tsaklidis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-3123) Support Spnego/Kerberos authentication for http transport
Date Wed, 04 May 2011 10:41:05 GMT

    [ https://issues.apache.org/jira/browse/CXF-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028700#comment-13028700
] 

Aris Tsaklidis commented on CXF-3123:
-------------------------------------

Code:

URL wsdl = getClass().getResource("resources/greeting.wsdl");
SOAPService service = new SOAPService(wsdl, serviceName);
Greeter greeter= service.getPort(Greeter_QNAME, Greeter.class);

Client client = ClientProxy.getClient(gordy);
HTTPConduit http = (HTTPConduit) client.getConduit();

AuthorizationPolicy policy= new AuthorizationPolicy();
policy.setAuthorizationType("Negotiate");
http.setAuthorization(policy);

greeter.sayHi();



> Support Spnego/Kerberos authentication for http transport
> ---------------------------------------------------------
>
>                 Key: CXF-3123
>                 URL: https://issues.apache.org/jira/browse/CXF-3123
>             Project: CXF
>          Issue Type: New Feature
>          Components: Transports
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 2.4
>
>
> Spnego/kerberos is a quite common authentication mechanism in the microsoft world. CXF
should support this mechanism for the client as well as the server side.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message