Uploaded image for project: 'Opencast'
  1. MH-13508

Remove method canLogin from interface User

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed and reviewed
    • Affects versions: 7.0
    • Fix versions: 8.0
    • Components: Backend Software

      Description

      The interface User offers a method canLogin which is not really used in means of it is used to set the isEnabled of https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/core/userdetails/User.html but it always sets it to true.

      The goal of this maintenance task is to remove that code from our codebase since it is not really actually used.

      In case we need this in the future, we might also decide to make the field persistent in the database and call it "active" or something like that.

        TestRail: Results

          Attachments

            Issue links

              Activity

                People

                • Assignee:
                  staubesv Sven Stauber
                  Reporter:
                  staubesv Sven Stauber
                • Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    TestRail: Cases