Re: TPOP3Server.CheckUser

Giganews Newsgroups
Subject: Re: TPOP3Server.CheckUser
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Mon, 11 Jul 2005

"Tim Parker-Nance" <tim_…@hotmail.com> wrote in message
news:3BADEF830BD2E240tim_…@hotmail.com...

> The POP3 Server code seems to have had a revamp of late. The
> CommandPass code seems to have changed completely. Before the
> Context had a state that you set to Trans if the username/password
> was correct. Now the context has a read-only Authenticated and this
> is set to true after the call to the event CheckUser. This cannot be
correct.

Yes, it is correct.  If the user fails authentication, your CheckUser event
handler is supposed to throw an exception.  The text of the exception will
be sent to the client explaining why it failed.  If no exception is thrown,
then the authentication is assumed to have succeeded.

Gambit

Replies

In response to

TPOP3Server.CheckUser posted by Tim Parker-Nance on Mon, 11 Jul 2005