IdentityService#checkPasswordAgainstPolicy is not intuitive

XMLWordPrintable

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

      IdentityService#checkPasswordAgainstPolicy...

      • throws an exception if it fails containing a field with a list of policy rules
      • returns true on success

      Problem

      • The API never returns false but instead throws an exception
      • It is likely, that the return value is never used

      Solution
      The API should return a data structure which contains all necessary information (e. g. violated rules)

            Assignee:
            Unassigned
            Reporter:
            Tassilo Weidner-Mühl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: