SASL EXTERNAL Authentication
Michael Ströder
michael at stroeder.com
Mon Aug 18 13:40:24 CEST 2003
James Collier wrote:
>
> cat >> sasl.py
>
> class sasl_external(sasl):
> """This class handles SASL EXTERNAL
> (i.e. X.509 client certificate)
> authentication."""
> def __init__(self):
> sasl.__init__(self, {}, "EXTERNAL")
Many thanks for your contribution. I've committed it to CVS but with class
name ldap.sasl.external.
I've added building a dictionary ldap.sasl.saslmech_handler_class for all
the known SASL mechs from class definitions.
$ python -c "import ldap.sasl; print ldap.sasl.saslmech_handler_class"
{'DIGEST-MD5': <class ldap.sasl.digest_md5 at 0x81de00c>, 'EXTERNAL': <class
ldap.sasl.external at 0x81ddbec>, 'GSSAPI': <class ldap.sasl.gssapi at
0x81de4a4>}
As usual please test.
Ciao, Michael.
More information about the python-ldap
mailing list