#2276: My2FASetupPageRest.kt

projectforge-rest/src/main/kotlin/org/projectforge/rest/my2fa/My2FASetupPageRest.kt REST Controller, projectforge-rest/src/main/kotlin/org/projectforge/rest/my2fa/My2FASetupPageRest.kt (496 lines) 496 lines · 416 code · 48 comments · 32 blank
Source file: My2FASetupPageRest.kt - rest controller in ProjectForge REST module.

Architecture Analysis

Resides in projectforge-rest, the JAX-RS REST API layer consumed by the React frontend.

Git History

CommitWhat changed
868d6abb752025 -> 2026
63081666f6Source file headers: 2024-> 2025.
2a5005e7feGradle, javax.validation -> jakarta.validation
1b50060c3aBaseDao: renamed: get -> find, save -> insert, getList -> select, load -> select
2a8ea2076cMigration stuff in progress... BaseDao refactored (not yet finished) internal* methods renamed.
3aeda5ef5aBig change: all save|update|...InTrans renamed (InTrans removed). PfPesistenceContext as param not needed anymore (ThreadLocal is used instead). (all tests of all packages: OK).
67805f2fc1ThreadLocalUserContext.user -> ThreadLocalUserContext.loggedInUser (renamed for avoiding mis-understandings in code).
1135ccbca9Persistence: functions renamed: *NewTrans -> *InTrans
b095e6f7d1!!!!! Big change of Transaction handling: Re-uses PfPersistenceContext as much as possible (not yet finished). Tests doesn't yet run.
0d183e5df7Migration stuff in progress...
77bade6dfbjavax.* -> jakarta.*
b6092df092Copyright 2023 -> 2024
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
38bec971afThreadLocal -> Kotlin
cb605ebde82FA: WebAuthn is not experimental anymore. Now, at least one instead of two different 2FA should be configured by all users.
ec0cb592d9WebAuthn works now (also for Password reset, 2FA after login etc.)
b25f2d3b45WIP: WebAuthn
ec03e53dafWIP: WebAuthn
0c9bd0e16aWIP: WebAuthn
795958fc5dWIP: WebAuthn
25b5f43a0bWIP: WebAuthn
dbf4809248WIP: WebAuthn. 2FA rest stuff moved to own sub package.