Review main Abandoned

95285[TASK] Process backend authentication via authentication pipeline

Benni Mack CR 0 V 0 Hard +392 −78 updated 10/06/26, 08:11

Commit message

The backend user authentication middleware now resolves the request
through the authentication pipeline instead of operating the user
authentication object directly. The complete legacy authentication
service chain is wrapped into a dedicated pipeline authenticator
(LegacyBackendAuthenticator), keeping every existing authentication
service and the established login behavior working unchanged.

A pending multi-factor authentication requirement is no longer thrown
as an exception through the middleware but expressed as a Challenge
outcome, whose response redirects to the MFA route (or answers with
401 for AJAX calls) - the behavior for users stays identical.

On successful authentication the established Principal is provided as
"backend.principal" request attribute after the group data of the
user has been resolved.

Review

  • Code review CR 0
  • Verified V 0
    • core-ci +1 CI

Issues 1

Files 4

Review log 59

  1. Benni Mack uploaded patch set 1 08/12/26, 11:34

  2. core-ci voted on patch set 1 V +1 08/12/26, 11:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106515

  3. Benni Mack uploaded patch set 2 V +1 08/12/26, 12:05

  4. Benni Mack uploaded patch set 3 08/12/26, 12:08

  5. core-ci voted on patch set 2 V +1 08/12/26, 12:20 Copied votes on follow-up patch sets have been updated: * Verified+1 has been copied to patch set 3 (copy condition: "changekind:NO_CHANGE"). Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106524

  6. core-ci voted on patch set 3 V +1 08/12/26, 12:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106530

  7. Benni Mack uploaded patch set 4 V +1 10/05/26, 17:00

  8. core-ci voted on patch set 4 V +1 10/05/26, 17:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110133

  9. Benni Mack abandoned the change 10/06/26, 08:11

    merged this into the previous commit.