IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Using modifyPrincipal to change the password attribute

  • 1.  Using modifyPrincipal to change the password attribute

    Posted Tue December 21, 2021 04:25 PM

    Hello, before we have been able to use modifyprincipal to change the password but with the update to webMethods 10.3, our former script does not function as it did before.

    We called modifyprincipal with the ID of the directory principal and inserting a hash map with “password” and the new password we want to change it to. The hash map would print as {password=newpass}
    s.modifyPrincipal(p.getID(), passhashmap);

    When we run the exact same modifyprincipal line as before, and use getattribute() to check the password attribute, it returns the same hash as the old password, and the password has not been changed. Were there any changes to modifyprincipal within the past few years that may have caused this and there is a correct way to change the password attribute using modifyprincipal? Thank you!


    #B2B-Integration
    #MWS-CAF-Task-Engine
    #webMethods
    #BPM


  • 2.  RE: Using modifyPrincipal to change the password attribute