Details

    • Similar Issues:
      Show 5 results 

      Description

      When creating a user with UserLocalServiceUtil, the addUserWithWorkflow method sets the status at DRAFT.

      LDAP export is enabled.

      The onCreate listener seems to want to create the user in the LDAP but hits 'return;' at line 238 of PortalLDAPExporterImpl since the status is DRAFT.

      Result is that the created user cannot login.

        Activity

        Hide
        Koen De Jaeger added a comment -

        Furthermore, the password can only be set in the LDAP during the onCreate. This is the point when the unencrypted password get's encrypted by Liferay and send to the LDAP, if set in the usermappings.

        I see that the onUpdate tries to export to LDAP as well but then off course it misses the unencrypted password. Liferay will exclude the password in the LDAP in this case.

        Show
        Koen De Jaeger added a comment - Furthermore, the password can only be set in the LDAP during the onCreate. This is the point when the unencrypted password get's encrypted by Liferay and send to the LDAP, if set in the usermappings. I see that the onUpdate tries to export to LDAP as well but then off course it misses the unencrypted password. Liferay will exclude the password in the LDAP in this case.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Days since last comment:
              1 year, 29 weeks, 5 days ago

              Development

                Structure Helper Panel