P.S. Adding a request.x509() method  to do the same as below would be
a nice web2py addition!


On Aug 4, 6:45 am, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> Look into repoman, specifically this file:
>
> https://github.com/hep-gc/repoman/blob/master/server/repoman/repoman/...
>
> They have a wsgi middleware that takes the certificate and sets
> environ['AUTHENTICATED']
>
> On Aug 4, 5:45 am, Michele Comitini <michele.comit...@gmail.com>
> wrote:
>
>
>
>
>
>
>
> > Hello list!
>
> > I have a simple question, but I cannot find any example by googling around.
>
> > Does anyone have a setup to allow authentication of users with X.509
> > signed certs with web2py?
> > This means that the serial of the cert or the cn is used to identify
> > the usre.  The problem is passing those
> > data to web2py auth.
> > I have an idea on how to implement this, but no need to reinvent the wheel! 
> > ;-)
>
> > Thanks
>
> > mic

Reply via email to