[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-c-dev
Subject:    NTLM authentication support for Axis2/C
From:       Damitha Kumarage <damitha () wso2 ! com>
Date:       2011-06-10 4:39:54
Message-ID: 4DF19D4A.5060003 () wso2 ! com
[Download RAW message or body]

Hi
I have implemented NTLM support for Axis2/C.

NTLM support is implemented as an optional feature for Axis2/C. By 
default this is disabled. To enable this feature you need the help of an
external NTLM library which will be dynamically loaded into Axis2/C. You 
can use Heimdal [1] or libntml [2] as the external NTLM library.
You can use any other NTLM library of your choice instead of one of 
these two. However then you need to write a wrapper library implementing
Axis2/C NTLM external api called axis2_ntlm.h, for your external NTLM 
library.

Note that Heimdal is MIT like license which is compatible with Apache2. 
I have commited the Heimdal wrapper to Axis2/C. It should also be noted 
that
In Linux, when we use Heimdal library there is a intermittent 
authorization failure with the server. We cannot expect Heimdal to fix 
this bug since the developement is no longer supported.

libntlm wrapper to Axis2/C works fine without any bugs.
However libntlm is LGPL licensed. Because of this I need to verify with 
Apache2 legal discussions list whether I can commit the code for libntml 
wrapper for Axis2/C. If they reply positive then I think we can commit 
that libntml wrapper too, to Axis2/C. However the user of Axis2/C NTLM 
will still need to
download libntlm library separately and link with Axis2/C at run time.

I have also commited a client sample to test NTLM and some READ me files 
that would be useful to get started. The code is at
src/core/transport/http/sender/ntlm
and sample is at
samples/client/ntlm

Thanks,
Damitha
 
[1]http://www.h5l.org/
[2]http://josefsson.org/libntlm/
-- 
__________________________________________________________________

Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/

blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic