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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Switch to https during login in MWS

    Posted 04/22/13 06:27 PM

    Hello:

    I wondering what is the best way to run and force authentication (login) in MWS with https, and, after successful login go back to http.

    Any help or recommendation will be appreciated.

    Regards.

    Norberto.


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


  • 2.  RE: Switch to https during login in MWS

    Posted 04/22/13 07:11 PM

    There is a solution for this provided in these official fixes:

    • MWS_8.2_SP1_Fix13
    • MWS_8.0_SP2_Fix18

    This is how it to use the new component:

    1. Deploy the components/extras/wm_httpsredirect.war to MWS
    2. Open the ‘Cluster Administration’ portlet and do this:
      a) Make sure there is a non-zero https port defined
      b) Make a note of what the front end url is configured as
      c) If any changes were made, restart MWS
    3. In a new browser window, open the front end url (i.e. http://localhost:8585)
    4. In the address bar of the browser verify that the login page has switched to a secure address (i.e. http://tech.forums.softwareag.com:8587)
    5. Login
    6. In the address bar of the browser, verify that the address has switched back to the non-secure address (i.e. http://localhost:8585/current.user.start.page)

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


  • 3.  RE: Switch to https during login in MWS

    Posted 04/23/13 11:30 AM

    Eric:

    Ok, I’ll try.

    thanks a lot.

    Regards.

    Norberto.


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


  • 4.  RE: Switch to https during login in MWS

    Posted 05/23/13 02:12 PM

    Hello Eric:

    One more question: how can I undo the changes? deleting the wm_httpsredirect.war and components?

    Best regards.


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


  • 5.  RE: Switch to https during login in MWS

    Posted 05/28/13 08:35 PM

    Yes, to undo the changes, you would just uninstall the wm_https_redirect.war file.

    If that doesn’t work, you may also need to restart the MWS server to clear out anything caching the old configuration.


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


  • 6.  RE: Switch to https during login in MWS

    Posted 02/19/16 09:59 AM

    Hello Eric:

    I need to do the same thing in V9.7. Do this .war work in v9.7? Or Do you have a .war for v9.7?

    Thanks in advance.

    Regards.

    Norberto.


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


  • 7.  RE: Switch to https during login in MWS

    Posted 02/19/16 12:20 PM

    Sure, there should be a components/extras/wm_httpsredirect.war in the 9.7 distribution.


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


  • 8.  RE: Switch to https during login in MWS

    Posted 04/29/16 11:30 AM

    Hi Eric,

    I also tried using wm_https_redirect.war, i can see there is auto redirect from http => https during login, but after login it is failed to switch back to http, apart from the war file deployment are there any other things that we need to change.
    

    Regards
    Sreeni


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


  • 9.  RE: Switch to https during login in MWS

    Posted 04/29/16 01:43 PM

    This is what it should be doing:

    1. Check if a non-zero https port is configured in the cluster config (as configured in the Cluster Administration page). If not, ignore the request since https is not available.
    2. Get the frontEnd url from the cluster config and compare the incoming request to check if it starts with the configured frontEnd url. If not, it might be direct connection to the node, so ignore the request. This is for devs and admins to connect directly to a cluster node (for example, to bypass the loadbalancer) to correct problems if something goes wrong.
    3. Calculate if the request requires switching the request scheme (http to https, or https to http). If yes, send an http redirect and a copy of the cookies to do the switch.

    So when rendering the login page it should switch to https://[frontEndUrl]/… and then after login it should switch back to http://[frontEndUrl]/…


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