Hi, all

I have a twisted web server, exposing https interface. What I'm trying
to do now is to support usage of two-way tls authentication and use
data from the client certificate as a seed for authenticated avatar.
Any hints as to how to do that in the best way? I guess it should be
done before Realm's requestAvatar method is called?

thanks for your input!

Ilya

PS. Roughly speaking the code for that part looks like this:

wrapper = guard.HTTPAuthSessionWrapper(Portal(SimpleRealm(),
used_checkers), authn_methods)
reactor.listenSSL(8080, server.Site(resource=wrapper), contextFactory
= sslContext)

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to