Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-4786

Remove/hide leaseExpiry option for 7.0

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0, 7.0.0-micsvc-1.0.3
    • Fix Version/s: 7.0.0, 7.0.0-micsvc-1.0.3
    • Component/s: Secrets
    • Labels:
      None
    • Epic Link:
    • Sprint:
      2020.10 - IG / Microservices
    • Story Points:
      1

      Description

      Actually, the leaseExpiry (linked to the leaseDuration in Commons), was added to KeystoreSecretStore and HsmSecretStore

      but we missed some pipes in IG as only the SecretReference(1) uses the isExpired method. 

      ( See https://stash.forgerock.org/projects/COMMONS/repos/forgerock-commons/browse/secrets/secrets-backend-keystore/src/main/java/org/forgerock/secrets/keystore/KeyStoreSecretStore.java#302)
      (1) The SecretReference checks for secret expiry: see https://stash.forgerock.org/projects/COMMONS/repos/forgerock-commons/browse/secrets/secrets-api/src/main/java/org/forgerock/secrets/SecretReference.java#106

      For IG, that means actually, for 7.0, we have to hide the leaseDuration option as it cannot be used as it is.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                violette Violette Roche Montane
                Reporter:
                violette Violette Roche Montane
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: