Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10115

Improve tests for IdentityService#checkPasswordAgainstPolicy

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.11.0, 7.11.0-alpha4
    • Component/s: engine
    • Labels:
      None

      Description

      Problem
      DefaultPasswordPolicyTest is hard to understand because everything is tested in a single test case.

      Solution
      There exists for each case a dedicated test with a meaningful method name:

      • default policy contains five rules with respective keys and values of parameters
      • valid password
      • length rule violated
      • lower case rule violated
      • upper case rule violated
      • digit rule violated
      • special char rule violated

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: