Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

StreamSec.Snif.CustomAuthentication

Common base shared by the two interchangeable Snif login units:

    StreamSec.Snif.Authentication     - the LEGACY verifier-based Login / LoginPlain /
                                        ChangePassword (a bespoke modular-exponentiation
                                        verifier challenge-response).
    StreamSec.Snif.AkeAuthentication  - the Tunnel Bound KAPA AkeLogin / AkeChangeAuth
                                        (post-quantum), plus the two-step OTP login.

  An application picks its login scheme by INCLUDING one unit or the other in the
  project: each unit's initialization self-registers its server classes with the
  TsnifClassServer. Both units may be linked together; in that case the AKE unit calls
  SnifActivateAkeLogin from its initialization and the legacy Login / LoginPlain /
  ChangePassword classes then FAIL CLOSED (return their error sentinel) so a client can
  never fall back to the weaker scheme - AKE takes precedence.

  This unit holds ONLY the parts common to both schemes: the shared login base class
  (the resolved user name, its roles and the opaque app info, plus the failure-throttle
  predicate), the AKE-precedence flag, and a constant-time compare helper. It has no
  server classes of its own and registers nothing.

Feature notes: Snif remoting framework (concepts) · Tunnel Bound KAPA (Snif authentication)

Classes, interfaces and records

classTsnifCustomAuthentication

inherits from TObject

Common ancestor of the legacy TsnifCustomLogin and the AKE TsnifAkeCustomLogin. Holds the fields both schemes carry and the shared lockout predicate. Not remotable itself; the concrete login classes descend from it (via their scheme base) and add their scheme-specific state.

(no public members)

Routines