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.  using LDAP authentication

    Posted 02/19/07 03:01 PM

    Hello,

    I have tried to configure X-Broker to use LDAP Authentication. I followed the documentation and edited the ldap.xml and broker-config.xml files but it looks like my custom adapter is not called when the request comes to the Broker. I also created the jar file with the adapter and placed it in the right folder (also updated the classpath); configured X-Registry policy to use LDAP authentication. But nothing works. How can I make sure my adapter is being called?

    thanks


    #API-Management
    #webMethods
    #webMethods-X-Broker-Mediator-Forum


  • 2.  RE: using LDAP authentication

    Posted 02/21/07 11:57 PM

    Hello,
    Here are a few pointers, to help you find why the adaptor is not being called.

    1. Make sure that the policy contains a Consumer Identification assertion. The Consumer Application is supposed to be configured with either HTTP/WS-Sec user tokens.
    2. have a look at the policyenforcer.xml present in {X-Broker.HOME}/resources folder; it should contain SecurityNegotiator for the configured contract service.
    3. The Security Mode in xbroker-setup.xml should be switched to Custom, i.e. Default Security Mode should be set to false and Custom switched to true.

    Hope the info helps.


    #webMethods-X-Broker-Mediator-Forum
    #API-Management
    #webMethods


  • 3.  RE: using LDAP authentication

    Posted 03/19/07 12:22 PM

    Hello,

    Thanks for the response. Actually - I do have all these things setup and still experience the problem. Let me describe exactly what I have (I am trying now to use Sample Adapter instead of LDAP). The goal is to see this adapter called from X-Broker.

    1. My policy contains CI section that is the first of the assertion list.
    2. in the CI assertion i have set “IsAnonymousAllowed=false”
    3. The next assertion is “Sample” that I have created as my custom assertion template.
    4. In this ‘Sample’ assertion I have one string as input (for a test purpose)
    5. my consumer application is configured with WS-Security and the user name is set to ‘user123’.
    6. policyenforcer.xml does contain the information about my contract: (
      CINegotiator

      )
      ^^^^^ Is this correct setup?
    7. the security mode is set to custom the way you have described in xbroker-setup.xml file.
    8. in my adapter class I have the log messages (just for testing)
      log.debug(“******* test ****”);
    9. I don’t see this in the log file.
      so the question is - what else I am missing?

    thanks


    #webMethods
    #API-Management
    #webMethods-X-Broker-Mediator-Forum


  • 4.  RE: using LDAP authentication

    Posted 03/20/07 12:30 AM

    Can you try just one more thing with your original setup.
    Please add a soap-actor attribute with the value “http://com.infravio.broker/security” in the Security Header.
    It should look something like this after the addition:
    SOAP-ENV:Header
    <wsse:Security SOAP-ENV:actor=“http://com.infravio.broker/security” wsse:mustUnderstand=“1” xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd” xmlns:wsu=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd”>
    <wsse:UsernameToken wsu:Id=“SecurityToken-0”>
    wsse:Usernamewsuname</wsse:Username>


    #webMethods
    #API-Management
    #webMethods-X-Broker-Mediator-Forum


  • 5.  RE: using LDAP authentication

    Posted 03/21/07 10:54 AM

    Thanks, it did help! I can see that the custom adapter is being called. For some reason there is an exception in the log file:

    21 10:22:08 EDT 2007
    ERROR - EventDelegator - java.lang.ArrayIndexOutOfBoundsExceptio
    n: 23
    INFO - Adaptor - ************* in custom Sample Adaptor
    process() ****************
    WARN - Adaptor - ************* in custom Sample Adaptor
    process() ****************
    INFO - Adaptor - Creating dir ** resources\

    I am not sure if this is important one or not.

    thanks again


    #webMethods
    #API-Management
    #webMethods-X-Broker-Mediator-Forum


  • 6.  RE: using LDAP authentication

    Posted 11/15/07 11:09 AM

    Hey,

    I tried to implement an LDAP Authentication against Windows Active Directory for testing under webMethods 7.1.

    After solving some problems there still is an issue when I try to add some LDAP Users to Roles etc. Each time I try to add some, my mayWebmethods Server crashes.

    Adding to it there is no chance to authenticate because of the same problem. Each time I try to logon, my MyWebmethods Server crashes. With Integration Server there is no problem.

    I succeeded in searching for users in LDAP etc but adding and authentication does not work. Can someone help me

    Thanks Martin


    #webMethods-X-Broker-Mediator-Forum
    #webMethods
    #API-Management