SASL Authentication
| From: | Richard Heyes | Date: | Sat, 28 Sep 2002 13:36:25 +0000 |
| Subject: | SASL Authentication | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-9644@lists.php.net to get a copy of this message | ||
Hi,
Been thinking of writing a SASL class or classes for use with Net_Sieve
and Net_SMTP amongst others and am wondering if anyone with experience
of SASL has any thoughts on this. My current line of thinking envisages
two possible methods:
1. A mostly or all static class which supplies methods for producing the
authentication
strings eg:
response Auth_SASL::cramMD5(user, password, challenge);
2. A class system that inherits from Net_Socket and "takes over" the
communication. This
would enable the security layer part to be done, though obviously
this is much more
complex. This could also intercept authentication request based on
protocol definitions
that it knows about (eg SMTP, IMAP, Sieve etc).
Thoughts ?
--
Richard Heyes