Skip to content
Snippets Groups Projects

Resolve "2FA enabling for LabraCORE"

  1. May 08, 2020
  2. May 07, 2020
    • Chris Lemaire's avatar
      Rename Api to API · 7e5c2f85
      Chris Lemaire authored
      7e5c2f85
    • Chris Lemaire's avatar
      Uppercase abbreviations and add intermediate 2FA · e160d1ed
      Chris Lemaire authored
      Intermediate 2FA embedded class is added for future expansion.
      If we want to add HOTP keys for a Person, this can be added in the
      2FA object for that Person. This saves us some managing within the
      Person class and keeps 2FA related operations separate from the Person
      information related operations.
      
      Totp was preferred to be TOTP.
      In a future commit we will also change Api to API.
      e160d1ed
    • Chris Lemaire's avatar
      Add TOTP through controller endpoints · 9efcafd6
      Chris Lemaire authored
      - TotpKey is used to represent a user's TotpKey in the database.
        This key is linked to the Person that registered it.
      - A TotpKeyRepository is added for getting TotpKeys and saving them.
      - The TotpController and TotpService provide the methods for controlling
        endpoints and data regarding TOTP authentication.
      9efcafd6
    • Chris Lemaire's avatar
      Reorganize API Key packages and remove filter · 29559ca1
      Chris Lemaire authored
      Originally, a custom filter was used to process API-keyed requests.
      Now a custom WebAuthenticationDetails object and Spring-provided
      header-authentication methods are used to authenticate.
      29559ca1
Loading