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.  Runtime UserIdPassword substitution for JDBC Connections

    Posted 07/14/04 05:35 PM

    We are running on version 6.1 on AIX. Is it possible to substitute the userid and password for a JDBC connection at runtime? The only place that specifies the userid/password for creating the connection is in the setup of the connection setup within the JDBCAdapter.

    I would like to use the UserId and Password of the user making the request instead of a generic UserId and Password. Is this possible?

    Thanks for the help!

    Todd


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


  • 2.  RE: Runtime UserIdPassword substitution for JDBC Connections

    Posted 07/14/04 06:49 PM

    Todd,

    I don’t think this is currently possible, although I haven’t dug into the underlying services to see what could be tweaked. However, on a previous project we had an auditing requirement that we met by allowing the connection to be established using the pre-configured account and then running an Stored Procedure to set the audit data based on the actual user account requesting the connection. This may not work for you if authentication is your primary goal, but it at least allows for an audit trail. HTH.


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


  • 3.  RE: Runtime UserIdPassword substitution for JDBC Connections

    Posted 07/15/04 06:53 PM

    Sounds like that you will have to write your own implementation of JDBC connection pooling n stuff. (and possibly deploy as a jar - as an option)

    And expose them to be called from webM java and flow services.

    google on how to implement connection pooling and reuse code.

    hope you got my point.


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