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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Current User Password retrieve Code Snippet

  • 1.  Current User Password retrieve Code Snippet

    Posted Mon September 20, 2010 01:05 PM

    Hi,

    can any1 pls provide the java code snippet to retrieve the Currently logged in user’s password?

    I know user.getName(); will retrieve the current username, but can any1 help me in retrieving the current user password without any encoding?


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Current User Password retrieve Code Snippet

    Posted Mon September 20, 2010 04:10 PM


  • 3.  RE: Current User Password retrieve Code Snippet

    Posted Tue September 21, 2010 08:57 AM

    Thanks Rob!

    I could retrieve the password in {SHA1} encoded using User.getPassword();

    Can any1 let me know how to decode or what is the basic principle for encoding the password in WM 6.1?


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB