Re: SASL Authentication
| From: | Bertrand Mansion | Date: | Fri, 04 Oct 2002 09:38:06 +0000 |
| Subject: | Re: SASL Authentication | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9840@lists.php.net to get a copy of this message | ||
>> Richard Heyes wrote:
>>
>>> 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 ?
+1
Bertrand Mansion
Mamasam