writing an extension

4 messages Options
Embed this post
Permalink
Ty-3

writing an extension

Reply Threaded More More options
Print post
Permalink
Hi,
Is there any doco on how to write an extension for restlet.  I'd like to do a HTTP_NTLM implementation but I am having a little trouble following the restlet source code.

I also had a look at the OAuth source code and, although it seems fairly straight forward, I don't quite get how things hook together.

I'll try creating a HttpNtlmHelper in a org.restlet.ext.ntlm package and see where that gets me.  Any guidance is greatly appreceiated.

Regards,
Ty

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2413334
jlouvel

Re: writing an extension

Reply Threaded More More options
Print post
Permalink
Hi Ty,

Having a builtin support for NTLM sounds like a very useful feature.

I have created a new wiki page with initial guidelines. We'll keep
improving it:

"Writing an extension"
http://wiki.restlet.org/developers/179-restlet/295-restlet.html

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com



Ty a écrit :

> Hi,
> Is there any doco on how to write an extension for restlet.  I'd like to do a HTTP_NTLM implementation but I am having a little trouble following the restlet source code.
>
> I also had a look at the OAuth source code and, although it seems fairly straight forward, I don't quite get how things hook together.
>
> I'll try creating a HttpNtlmHelper in a org.restlet.ext.ntlm package and see where that gets me.  Any guidance is greatly appreceiated.
>
> Regards,
> Ty
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2413334
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2413416
jlouvel

Re: writing an extension

Reply Threaded More More options
Print post
Permalink
Ty,

Regarding the OAuth extension, this isn't the best example and we will
rework it for Restlet 2.0:
http://wiki.restlet.org/developers/172-restlet/294-restlet.html

I would instead suggest to look at the org.restlet.ext.crypto extension
which now contains the HTTP Digest authentication among other things. It
might even be the best home for the NTLM authentication.

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com



Jerome Louvel a écrit :

> Hi Ty,
>
> Having a builtin support for NTLM sounds like a very useful feature.
>
> I have created a new wiki page with initial guidelines. We'll keep
> improving it:
>
> "Writing an extension"
> http://wiki.restlet.org/developers/179-restlet/295-restlet.html
>
> Best regards,
> Jerome Louvel
> --
> Restlet ~ Founder and Lead developer ~ http://www.restlet.org
> Noelios Technologies ~ Co-founder ~ http://www.noelios.com
>
>
>
> Ty a écrit :
>  
>> Hi,
>> Is there any doco on how to write an extension for restlet.  I'd like to do a HTTP_NTLM implementation but I am having a little trouble following the restlet source code.
>>
>> I also had a look at the OAuth source code and, although it seems fairly straight forward, I don't quite get how things hook together.
>>
>> I'll try creating a HttpNtlmHelper in a org.restlet.ext.ntlm package and see where that gets me.  Any guidance is greatly appreceiated.
>>
>> Regards,
>> Ty
>>
>> ------------------------------------------------------
>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2413334
>>
>>    
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2413416
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2413446
Ty-3

RE: Re: writing an extension

Reply Threaded More More options
Print post
Permalink
Thanks,  I'll move over to the code mailing list to ask some questions so I can better understand how the inner workings of restlet work.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2413511