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.  Get the User Id

    Posted 05/09/02 08:52 PM

    X-Application Version: 3.1.2
    Tamino Version : 3.1.1
    Platform : Win2K
    WebContainer : Tomcat 3.3
    JDK Version : 1.3.1


    Hi !

    In my application I need to get the current User ID for data security control.
    The application security login is under Apache.

    Would you please give some directions on this implementation?

    Thanks very much in advance.

    Monica Fernandes


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: Get the User Id

    Posted 05/10/02 03:35 PM

    Not much I can help here, I only know that the
    property demo has a login page (demo/property/login.jsp).

    People with security knowledge will be back on Monday.

    Michael

    Software AG Germany, Darmstadt


    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: Get the User Id

    Posted 05/13/02 09:57 AM

    Hi Monica,

    the easiest way to access the information you want is to use embedded Java code inside your JSP page.
    The code to be embedded should look something like this:

      <%<BR>  out.println("The User ID: " + request.getRemoteUser());<BR>  %>



    The Scriplet above just displays the User ID in the resulting HTML page.

    If you need the User ID to be processed further you may want to extend an existing JSP tag as described in the documentation.

    I hope this helped you a little.

    Thank you for your contribution.

    Stefan Schwalm
    Software AG, Darmstadt


    #Tamino
    #API-Management
    #webMethods


  • 4.  RE: Get the User Id

    Posted 05/14/02 05:19 PM

    Thanks for your reply Stefan!

    I’ll try and will let you know the results!

    Thanks again.

    Monica


    #API-Management
    #webMethods
    #Tamino