Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-4667

CryptoTokenManagementSessionBean.assertAuthorization takes the cryptoTokenId twice

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Cosmetic
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Provenance:
      Refactorization
    • Issue discovered during:
      Another issue

      Description

      The method CryptoTokenManagementSessionBean.assertAuthorization takes a cryptoTokenId parameter (which is not used at all) and a resource parameter (which also includes the cryptoTokenId)

      This method and calls to it should be refactored. Either by removing the cryptoTokenId parameter, or by passing a partial resource parameter without the cryptoTokenId appended to it.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            samuel Samuel Lidén Borell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: