Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-2153

Passwords are being tracked, even if PasswordHistory is not enabled

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.1
    • Fix Version/s: 5.2.2
    • Component/s: None
    • Labels:
      None
    • Branch Version/s:
      5.1.x
    • Backported to Branch:
      Committed

      Description

      Passwords are being tracked, even if PasswordHistory is not enabled

      To fix this, we just need to wrap the existing "trackPassword(..)" method of PasswordTrackerLocalServiceImp, with the following linesl:

      PasswordPolicy passwordPolicy =
      passwordPolicyLocalService.getPasswordPolicyByUserId(userId);

      if (passwordPolicy.getHistory())

      { .... }

      and then run a build service to update the interface and util classes.

      Scott

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              scott.lee Scott Lee
              Reporter:
              scott.lee Scott Lee
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                11 years, 51 weeks ago

                  Packages

                  Version Package
                  5.2.2