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

IdentityService#checkPasswordAgainstPolicy is not intuitive

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.11.0, 7.11.0-alpha4
    • None
    • 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)

        This is the controller panel for Smart Panels app

            [CAM-10114] IdentityService#checkPasswordAgainstPolicy is not intuitive

            Tassilo Weidner created issue -
            Tassilo Weidner made changes -
            Description New: {{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)
            Tassilo Weidner made changes -
            Link New: This issue depends on CAM-9929 [ CAM-9929 ]
            Tassilo Weidner made changes -
            Link New: This issue is depended on by CAM-10115 [ CAM-10115 ]
            Tassilo Weidner made changes -
            Assignee Original: Tassilo Weidner [ tassilo.weidner ] New: Miklas Boskamp [ miklas.boskamp ]
            Tassilo Weidner made changes -
            Link Original: This issue depends on CAM-9929 [ CAM-9929 ]
            Tassilo Weidner made changes -
            Link New: This issue is related to CAM-9929 [ CAM-9929 ]
            Miklas Boskamp made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Miklas Boskamp made changes -
            Assignee Original: Miklas Boskamp [ miklas.boskamp ] New: Tassilo Weidner [ tassilo.weidner ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            Remaining Estimate New: 0 minutes [ 0 ]
            Original Estimate New: 0 minutes [ 0 ]
            Tassilo Weidner made changes -
            Rank New: Ranked higher
            Tassilo Weidner made changes -
            Rank New: Ranked higher

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

                Created:
                Updated:
                Resolved: