Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-5425

Added support for bcrypt encryption to to encrypt passwords

    Details

      Description

      The bcrypt encryption algorithm can now be used to encrypt passwords.

      To encrypt passwords using bcrypt, add the following to portal-ext.properties:

      passwords.encryption.algorithm=BCRYPT

      Warning: Switching password encryption algorithm after the portal database has been created is not currently supported.

      Also, Liferay Portal can now handle user passwords in LDAP servers that are stored using bcrypt. To enable this, add the following to portal-ext.properties:

      ldap.auth.password.encryption.algorithm=BCRYPT

      UPGRADE NOTES:

      To distinguish the new bcrypt encryption algorithm with the existing crypt encryption algorithm, CRYPT has been renamed to UFC-CRYPT.

      If your portal-ext.properties contains one of the following lines

      ldap.auth.password.encryption.algorithm=CRYPT
      passwords.encryption.algorithm=CRYPT

      it must be replaced with

      ldap.auth.password.encryption.algorithm=UFC-CRYPT
      passwords.encryption.algorithm=UFC-CRYPT

      respectively.

        Attachments

          Activity

            People

            • Assignee:
              igor.spasic Igor Spasic (Inactive)
              Reporter:
              hugo.huijser Hugo Huijser
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                6.0 EE SP2 (6.0.12)