Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodiPop3ServerPolicy.Authenticate

function Authenticate(const aSession: tPop3Session; const aUser: string; const aPassword: iSecretKey; var aWhy: string): Boolean;
The credential, in wiped storage. RUN ONLY OVER A SECURE CHANNEL - the engine refuses the mechanism outright otherwise, so an implementation never sees a password that crossed cleartext. ONE FAILURE ANSWER FOR EVERY REASON: aWhy is for the log, and the engine sends a single fixed -ERR whatever it says, because distinguishing "no such user" from "wrong password" turns USER into an account enumerator.