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
  • 1.  Change the system user pwd via service

    Posted Wed June 28, 2017 12:45 AM

    We have few external users configured as system users (in MWS). Rather than forcing them to use the passwords created by MWS Admin, we are looking for options to give them the flexibility of changing passwords (by exposing a service)

    Any suggestions for creating such service? would really appreciate.

    thank you


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 2.  RE: Change the system user pwd via service

    Posted Wed June 28, 2017 05:19 AM

    Hi Naidu,

    I presume there is no such facility available with in IS. However, Users may change their password in MWS using My Profile option.

    Thanks,
    Paparao.


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 3.  RE: Change the system user pwd via service

    Posted Wed June 28, 2017 12:05 PM

    The Common Directory Service APIs are available in IS that may be invoked from a java service to modify the password of a MWS user from the system directory service. If your users are in LDAP/AD/Database or some other external source then the password is readonly in MWS and changing the passwords would require custom code that knows how to communicate with the backend user store to modify a password.

    On the other hand, MWS system users can change their own password within MWS using their own profile UI.


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 4.  RE: Change the system user pwd via service

    Posted Wed June 28, 2017 02:11 PM

    Thank you Eric for pointing to CDS APIs. But I couldn’t find any method to change the password of system user.

    Searched in the packages - com.webMethods.sc.mws and com.webMethods.sc.directory. In the IDirectoryUser interface we have only getters


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 5.  RE: Change the system user pwd via service

    Posted Wed June 28, 2017 02:15 PM

    The IDirectorySession#modifyPrincipal API should be able to change the “password” attribute of a system user.


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS