Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-651

SyncopeUser:checkToken() should fail if token is not set on user

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.8, 1.2.2
    • Fix Version/s: 1.1.9, 1.2.3, 2.0.0-M1
    • Component/s: core
    • Labels:
      None

      Description

      Currently, SyncopeUser:checkToken(String token) always returns true if user.token==null (i.e., the token attribute is not set). This is counterintuitive if the token parameter is not null (as the token passed as a parameter is obviously not valid).

      To make workflow implementations more robust, SyncopeUser:checkToken(String token) should return false if the token parameter is not null and user.token is null.

        Attachments

          Activity

            People

            • Assignee:
              wimmelg Guido Wimmel
              Reporter:
              wimmelg Guido Wimmel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: