webMethods

webMethods

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.  How to set the Tamino security on TaminoAPI4J

    Posted Wed December 11, 2002 04:25 AM

    How can I pass the uid and pwd using using TaminoAPI4J? Is there anything like setUser(uid, pwd) method like those in TaminoClient (v.1 and v.2).

    I just saw putting them into a xml file when using ConnectionPoolManager class.

    Thanks!


    #webMethods
    #webMethods-Tamino-XML-Server-APIs
    #API-Management


  • 2.  RE: How to set the Tamino security on TaminoAPI4J

    Posted Wed December 11, 2002 09:56 AM

    com.softwareag.tamino.db.API.connection.TConnectionFactory.newConnection(java.lang.String databaseUri, java.lang.String userId, java.lang.String password)

    …should do this for you.

    HTH


    #API-Management
    #webMethods
    #webMethods-Tamino-XML-Server-APIs


  • 3.  RE: How to set the Tamino security on TaminoAPI4J

    Posted Wed December 11, 2002 12:52 PM

    I’m trying to use the method

    com.softwareag.tamino.db.API.connection.TConnectionFactory.newConnection(java.lang.String databaseUri, java.lang.String userId, java.lang.String password)

    but in userid i have domain\username and during compiling i get illegal escape character and so i try to quote it
    domain’'username is it correct or it’s not correct?

    Regards
    @nto


    #webMethods-Tamino-XML-Server-APIs
    #webMethods
    #API-Management


  • 4.  RE: How to set the Tamino security on TaminoAPI4J

    Posted Wed December 11, 2002 02:31 PM

    Backslash ()is used to escape special characters in Java Strings so that (for example) you can create a string containing quotes.

    To create a string like “domain\user” you need code like:

    String myUserString = domain + "\\" + user;



    HTH


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods