[ 
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

Reply via email to