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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.8, 1.2.2
    • 1.1.9, 1.2.3, 2.0.0-M1
    • core
    • 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

            gwimmel Guido Wimmel
            gwimmel Guido Wimmel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: