Class Plain.

Inherits SaslMechanism

Implements plain-text authentication (RFC 2595 section 6)

SASL permits a distinction between the authentication ID (which credentials are checked) and the authorization ID (which is logged in). This class firmly insists that the two be the same.

Note that there is also a different, incompatible plain-text mechanism offered by some servers and supported by some clients "AUTH=LOGIN", implemented by SaslLogin.

Plain::Plain( EventHandler * c )

Creates a plain-text SASL authentication object on behalf of c

static bool Plain::parse( EString & authorizeId, EString & authenticateId, EString & pw, const EString & response )

Parses an AUTH=PLAIN response to extract the authenticateId, authorizeId, and pw.

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