You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Samo Dadela (JIRA)" <ji...@apache.org> on 2013/11/25 13:41:36 UTC

[jira] [Commented] (CXF-5419) CXF JAX-WS Client multiple calls to same URL as different users (NTLM auth)

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

Samo Dadela commented on CXF-5419:
----------------------------------

Sample requires:
- SP 2010 configured for NTLM
- 7 users... u1, u2...

Two variants, search for LOOP_A and LOOP_B:
- 7 threads create one proxy and loop a 100 times
- 7 threads create a proxy 100 times each time doing one call

Please change:
- serviceURL
- pass



> CXF JAX-WS Client multiple calls to same URL as different users (NTLM auth)
> ---------------------------------------------------------------------------
>
>                 Key: CXF-5419
>                 URL: https://issues.apache.org/jira/browse/CXF-5419
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.7.7
>         Environment: JRE 1.6
>            Reporter: Samo Dadela
>         Attachments: SPClientCXF1.tgz
>
>
> Trying to call the same WS as different users in the same VM using NTLM results in errors like: authorization loop detected on conduit, buffer already closed for writing.
> 1. How to properly configure the proxy/conduit for NTLM so that each thread can authenticate another user?
> 2. Is it possible to pass your own instance (superclass) of Commons Http Client 4? How?
> 3. How to destroy/clean the proxy when a thread terminates?
> 4. What to lock?
> Attaching sample project.



--
This message was sent by Atlassian JIRA
(v6.1#6144)