Class Login.

Inherits Command

Performs plaintext authentication (RFC 3501 section 6.2.3)

The client supplies us with a plaintext username and password, and we treat it as we would an AUTH=PLAIN request. (We should disallow this mechanism until after STARTTLS.)

void Login::execute()

This function creates a Plain SaslMechanism, bypasses CR negotiation by feeding it the data it would otherwise issue a challenge for, and waits for its verdict.

In general, Authenticate is much preferrable, but some clients only implement Login.

Reimplements Command::execute().

This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.