#2273: My2FAServicesRest.kt

projectforge-rest/src/main/kotlin/org/projectforge/rest/my2fa/My2FAServicesRest.kt REST Service, projectforge-rest/src/main/kotlin/org/projectforge/rest/my2fa/My2FAServicesRest.kt (479 lines) 479 lines · 368 code · 83 comments · 28 blank
Source file: My2FAServicesRest.kt - rest service in ProjectForge REST module.

Architecture Analysis

Resides in projectforge-rest, the JAX-RS REST API layer consumed by the React frontend. Serves as a Spring @Service encapsulating business logic, coordinating across domain objects and repositories. Typically annotated with @Service, managed by the Spring IoC container with dependency injection.

Git History

CommitWhat changed
868d6abb752025 -> 2026
7e08ba4710My2FAServicesRest: 2FA-code as input field with autoComplete="one-time-code" inputmode="numeric" pattern="\d*"
e2061d7db0UserPrefDao: Suppress error log on old TimesheetPrefData. Login handling improved: redirect to origin url after login.
63081666f6Source file headers: 2024-> 2025.
a73905c149Fix typos in projectforge*/ directories Found via codespell See c3b0602a893
2a5005e7feGradle, javax.validation -> jakarta.validation
61f05ce90dMigration stuff in progress...
a33f8f203bMigration stuff in progress... (all tests of all packages: OK).
67805f2fc1ThreadLocalUserContext.user -> ThreadLocalUserContext.loggedInUser (renamed for avoiding mis-understandings in code).
77bade6dfbjavax.* -> jakarta.*
b6092df092Copyright 2023 -> 2024
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
38bec971afThreadLocal -> Kotlin
56daaa86862FA: code dialog is done by modal, if possible for preserving user's input data.
bb53cda8f9Java 10 required for compilation. My2FAServicesRest: redirect to /react/xxx/edit/# for /rs/xxx/edit?id=#
87137129902FA redirection (if redirect url starts with /rs/) to /react/
8265c82fb2WIP: CreateI18nKeys refactored.
d1835bb25eprojectforge.2fa.disableMail2FAForGroups as config param implemented.
1a01b4091cWebAuthn fix.
ec0cb592d9WebAuthn works now (also for Password reset, 2FA after login etc.)
b25f2d3b45WIP: WebAuthn
795958fc5dWIP: WebAuthn
dbf4809248WIP: WebAuthn. 2FA rest stuff moved to own sub package.