Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Trac XmlRpcPlugin and HTTP digest authentication

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


olemis at gmail

Feb 15, 2012, 8:31 AM

Post #1 of 3 (117 views)
Permalink
Trac XmlRpcPlugin and HTTP digest authentication

Hi !

I was looking for feedback just to know if somebody's been able to
setup XmlRpcPlugin and make it work with HTTP digest authentication .

I look forward to your reply . Thanks in advance !

--
Regards,

Olemis

Facebook => http://www.facebook.com/olemis
Twitter => http://www.twitter.com/olemislc (@olemislc)
Blog ES => http://simelo-es.blogspot.com
Blog EN => http://simelo-en.blogspot.com
Quora => http://www.quora.com/olemis
Youtube => http://youtube.com/user/greatsoftw

Featured article : Identificando números primos con expresión regular en Perl
http://feedproxy.google.com/~r/simelo-news/~3/BHr859OSndo/identificando-numeros-primos-con.html
Tweet: yo no puedo creer q haya pasado inadvertido el 1/2/12 12:12 ...
@elainediaz2003 no dijo na' ... OMG ! ... much more coming soon ;) #fb
Follow @olemislc Reply Retweet   12:59 Feb-01
  Get this email app!
Get a signature like this. CLICK HERE.

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.


oddsimons at gmail

Feb 15, 2012, 10:58 AM

Post #2 of 3 (111 views)
Permalink
Re: Trac XmlRpcPlugin and HTTP digest authentication [In reply to]

On Feb 15, 5:31 pm, Olemis Lang <ole...@gmail.com> wrote:
> I was looking for feedback just to know if somebody's been able to
> setup XmlRpcPlugin and make it work with HTTP digest authentication .
>
> I look forward to your reply . Thanks in advance !

Hi Olemis,

There is no problem using the RPC plugin with digest auth - or any
particular other auth for that matter. The RPC plugin just uses what
it gets from Trac, and if Trac can authenticate then the plugin is
fine with that.

The real problem is that CLIENTS generally don't support digest auth,
or any other particular auth mechanism other than lowest common
denominator: Basic Authentication. So something like Python xmlrpclib
only supports Basic auth. However, if you were to build a custom
client that provides its own authentication handlers, all should be
fine. Other clients for other platforms like Java, .Net or whatever
may support further mechanisms - including Digest. I don't know. But
in the end it all depends on the client.

If you configure a project with digest auth, you should have no
problem using curl to make authenticated calls to a Trac /rpc handler.
"man curl" for all details of curl options... :-)



:::simon

https://www.coderesort.com
http://trac-hacks.org/wiki/osimons

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.


olemis at gmail

Feb 15, 2012, 11:57 AM

Post #3 of 3 (111 views)
Permalink
Re: Re: Trac XmlRpcPlugin and HTTP digest authentication [In reply to]

On Wed, Feb 15, 2012 at 1:58 PM, osimons <oddsimons [at] gmail> wrote:
> On Feb 15, 5:31 pm, Olemis Lang <ole...@gmail.com> wrote:
>> I was looking for feedback just to know if somebody's been able to
>> setup XmlRpcPlugin and make it work with HTTP digest authentication .
>>
>> I look forward to your reply . Thanks in advance !
>
> Hi Olemis,
>

:)

> There is no problem using the RPC plugin with digest auth - or any
> particular other auth for that matter. The RPC plugin just uses what
> it gets from Trac, and if Trac can authenticate then the plugin is
> fine with that.
>
> The real problem is that CLIENTS generally don't support digest auth,
> or any other particular auth mechanism other than lowest common
> denominator: Basic Authentication.

oh ! now I see .

> So something like Python xmlrpclib
> only supports Basic auth. However, if you were to build a custom
> client that provides its own authentication handlers, all should be
> fine. Other clients for other platforms like Java, .Net or whatever
> may support further mechanisms - including Digest. I don't know. But
> in the end it all depends on the client.
>
> If you configure a project with digest auth, you should have no
> problem using curl to make authenticated calls to a Trac /rpc handler.
> "man curl" for all details of curl options... :-)
>

Thnx for the pointer
;)

--

Regards,

Olemis

Facebook => http://www.facebook.com/olemis
Twitter => http://www.twitter.com/olemislc (@olemislc)
Blog ES => http://simelo-es.blogspot.com
Blog EN => http://simelo-en.blogspot.com
Quora => http://www.quora.com/olemis
Youtube => http://youtube.com/user/greatsoftw

Featured article : Identificando números primos con expresión regular en Perl
http://feedproxy.google.com/~r/simelo-news/~3/BHr859OSndo/identificando-numeros-primos-con.html
Tweet: yo no puedo creer q haya pasado inadvertido el 1/2/12 12:12 ...
@elainediaz2003 no dijo na' ... OMG ! ... much more coming soon ;) #fb
Follow @olemislc Reply Retweet   12:59 Feb-01
  Get this email app!
Get a signature like this. CLICK HERE.

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.