4 Replies Latest reply on Aug 16, 2007 5:31 PM by nollie

    update user password

    georgy

      I try to modify an user password. To do so i use the updatePassword() method of interface User :

      ...
      /*the user module class is LDAPExtUserModuleImpl
      authentication is done against AD with LdapExtLoginModule*/
      
      
      user.updatePassword(newPassword)
      ...
      



      It doesn't seem to work since the user password does not change.
      I don't see any exceptions/errors.

      Can anybody help me?

      JBOSS Portal 2.6.1.GA
      Win xp




        • 1. Re: update user password
          theute

          Did you check in server.log as well ?

          • 2. Re: update user password
            georgy

            Hi

            Yes i did check the server.log and there are no exceptions/errors. I really don't understand.

            • 3. Re: update user password
              bdaw

              As far as I know MSAD requires you to have SSL connection to LDAP to alter password attribute.
              I have never tried to setup this so please let me know if it works for you.

              • 4. Re: update user password
                nollie

                I'm assuming you have customized login-config.xml.

                Did you config jboss-service.xml and then ldap_identity-config.xml?

                jboss-portal.sar\META-INF\jboss-service.xml
                jboss-portal.sar\conf\ldap_identity-config.xml

                In the first file you should change the ConfigFile attribute for the "portal:service=Module,type=IdentityServiceController" mbean to be the second file ("conf/identity/ldap_identity-config.xml"). Then in the identity file you need to enter in some of the same information you used in the login-config.xml.

                Searching those file names should lead to documentation.

                nollie