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
Expand all | Collapse all

SECURITY: Mandatory credentials not supplied

  • 1.  SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 07:36 AM

    Hi,

    I am getting the below errors in nirvana.log after setting up LDAP authentication in universal messaging.

    We have created JNDI alias for these UM realms.

    ,SECURITY: Mandatory credentials not supplied - webm@ISHOST on nsp://ISIPaddress:47771

    Please let me know what could be the issue.


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker


  • 2.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 07:52 AM

    Kavitha,
    if you configured LDAP authentication, then credentials will need to be provided by all clients, including JNDI clients. You can provide valid credentials in the JNDI alias configuration in IS.


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods


  • 3.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 08:03 AM

    Thanks Jonathan,

    I have given valid credentials for JNDI and restarted the IS and realm as well. But i still see the same issue.
    Then i deleted the JNDI’s and recreated but still no luck.


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 4.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 08:22 AM

    How precisely have you provided the credentials in the JNDI alias?
    You should enter the username in the Security Principal field and the password in the Security Credentials field.
    Did you do that?
    (Note: You do not need to restart IS after this - just clicking the Test button for the JNDI alias is enough).
    Have you validated using a different client (e.g. a webMethods Messaging alias in IS) that the credentials are working correctly?


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker


  • 5.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 08:31 AM

    Hi Jonathan,

    Yes i have given the credentials as you have described. I did check the UM connection alias and it is configured for SSL port and not for default port 9000.

    I donot see any issue with messaging alias.

    There are 3 JNDI aliases and all are configured with correct credentials and tested with Test button right next to them and test is successful.

    I get the below error mails every second and nirvana.log is getting piled up.

    SECURITY: Mandatory credentials not supplied - webm@ptseelm-lx4680.ikeadt.com on nsp://10.230.9.133:49517

    here webm is the user to login to UM linux box.

    The users.txt user is Administrator and our UM is configured for both LDAP and users.txt.
    I am able to login to EM with both LDAP user and users.txt user.
    Messaging alias is up with SSL port.
    JNDI aliases are set with default port 9000 with Administrator user (users.txt user)

    It might not be from JNDI. but what could be the other connection trying to login to UM from IS host?


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 08:37 AM

    It indeed doesn’t look like JNDI is the issue. You have now clarified that you are seeing this login failure in the UM logs.
    Are you using Command Central? If so, can you temporarily stop the Platform Manager (SPM) and see whether the errors stop?
    If you stop the IS, do the errors stop?
    Also, the error message showed webm@hostname. Is that hostname the same machine as UM itself is running on?


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker


  • 7.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 08:53 AM

    Hi Jonatha,

    Yes command central is configured. Will try the step you have mentioned. But please see my next comments.
    When i stop Integration server, the error messages disappears from nirvana.log in data folder.
    webm@hostname means webm user at IS host.


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 8.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 09:59 AM

    I think it might be the NERV or ERF configuration. What version of IS are you using?


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods


  • 9.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 10:17 AM


  • 10.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 10:49 AM

    First stop IS.
    Then go to \profiles\IS-default\configuration\event\routing\servicegroups and change “service-usage” to "SourceOnly "
    Then restart IS.
    Hopefully now it will not attempt to reconnect.


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 11.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 10:54 AM

    Could you please explain me what exactly is happening at Server? what is the issue and how will it help?


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods


  • 12.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 10:59 AM

    There is a separate messaging layer, called Event Routing Framework, that by default is configured to connect to UM at localhost:9000. You can reconfigure it using Command Central under Event Routing. The instructions I gave are a simple way to stop it connecting to UM, as you probably don’t need ERF.


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 13.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 11:08 AM

    Thanks Jonathan, but this did not solve the issue :frowning:

    I am still facing the same issue again


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker


  • 14.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/29/16 11:32 AM

    Do you also have a JMS aliias defined in IS? If you disable that, does the error message stop in UM?
    If so, have you provided credentials in the JMS alias definition? (You need to).
    Also check any wM Messaging aliases for the same thing.


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 15.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/30/16 04:35 AM

    Yes Jonathan, we have configured JMS aliases, and they are all set with the correct user credentials.

    Even when i have disabled JMS aliases, i get the same error.
    The user credentials set for LDAP is Administrator, but the error is showing as webm@IShost.

    Not sure if it is JMS or JNDI issue. The number at the end of the error message keeps changing.
    SECURITY: Mandatory credentials not supplied - webm@ISHost on nsp://ISIPAddress:57966


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods


  • 16.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/30/16 09:34 AM

    Hello Jonathan,

    There are some channnels created for monitoring events at TN dashboards. Will that be an issue?

    Regards,
    Kavitha


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods


  • 17.  RE: SECURITY: Mandatory credentials not supplied

    Posted 06/30/16 11:16 AM

    If you are using TN dashboards, then they do use the ERF layer that I mentioned earlier. I have checked with R&D and unfortunately it is not possible to configure credentials on an ERF connection.
    To work around this, you can specify exemptions for clients unable to specify credentials. Add an extra line to the Server_Common.conf, similar to where you specified auth.mandatory=Y
    -DNirvana.auth.exempt=/path/to/file
    In that file, specify trusted clients in the same format, e.g. webm@ISHost
    One per line.

    Hope this helps.


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 18.  RE: SECURITY: Mandatory credentials not supplied

    Posted 07/01/16 05:03 AM

    Thanks Jonathan.

    This helped.

    Regards,
    Kavitha


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods


  • 19.  RE: SECURITY: Mandatory credentials not supplied

    Posted 09/28/16 06:10 AM

    Hi Jonathan,

    I am getting the similar error when trying to connect using managed file transfer client (goanywhere) to UM

    Can you please suggest what changes I need to make to resolve this issue.

    Thanks.
    Vishal


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 20.  RE: SECURITY: Mandatory credentials not supplied

    Posted 09/28/16 01:38 PM

    Vishal,
    I assume your MFT client is connecting using JMS. Is that correct?
    If so, then you should be able to provide credentials as part of the JMS connection settings in your MFT client. Providing credentials is part of the JMS standard.
    If not using JMS, then please provide more details on the protocol your MFT client is using to connect to UM.


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 21.  RE: SECURITY: Mandatory credentials not supplied

    Posted 09/28/16 04:22 PM

    MFT client is using JMS interface for connection and I am setting the credentials. UM log is showing the user@ under which MFT client is running, it should ideally show the user which is part of credentials entered.


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods


  • 22.  RE: SECURITY: Mandatory credentials not supplied

    Posted 09/28/16 05:08 PM


  • 23.  RE: SECURITY: Mandatory credentials not supplied



  • 24.  RE: SECURITY: Mandatory credentials not supplied

    Posted 03/09/17 09:54 AM

    Hi Jonathan,

    This is regarding clients connections with UM, we have several applications which are connecting with central UM HUB. We would like to authenticate the users connecting from those application in UM. We have set up the Active Directory based authentication and JMS clients are able to connect by passing the security credential and security prinicpal. However, DOTNET clients are unable to connect because we don’t have an option to pass credentials in DOTNET library. I can see the following error in the logs :
    SECURITY: Mandatory credentials not supplied

    I am not sure the next steps to resolve this.
    Can you help me here please.

    Thanks.
    Vishal.


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 25.  RE: SECURITY: Mandatory credentials not supplied

    Posted 03/09/17 10:13 AM

    Hi Vishal,

    the DotNet client does not (yet) support client authentication based on username/password. We are currently planning to include this in the October 2017 release of Universal Messaging.


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 26.  RE: SECURITY: Mandatory credentials not supplied

    Posted 03/10/17 01:24 AM

    Thanks for the quick reply.

    Do we need to setup the exception for DOTNET clients because for the moment we have AD based authentication setup for the JMS clients, how can we bypass that ?

    Do we have any other ways to authenticate DOTNET client ?


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 27.  RE: SECURITY: Mandatory credentials not supplied

    Posted 03/10/17 08:02 AM

    Vishal,
    you could authenticate DotNet clients using client certificates, but that will not work well in combination with basic authentication with your Java clients, so likely not an option.
    What you could do is set up a file of authentication-exempt clients, e.g. based on the IP addresses of your DotNet clients. Create a file with the auth-exempt clients, e.g.
    *@192.168.0.1
    *@192.168.0.2
    Then point to that file by adding this line to server_common.conf:
    -DNirvana.auth.exempt=/path/to/file

    This will allow your DotNet clients to connect, while still enforcing username/password for your Java clients.


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker


  • 28.  RE: SECURITY: Mandatory credentials not supplied

    Posted 03/10/17 11:04 AM

    Is there any way if they can co-exist ? I mean java client can use basic authentication and DotNet clients can use client certificates ?

    May be not possible if using same REALM or if we can use different interface within same REALM?

    Otherwise we need to use different REALM for DotNet clients to use client certificates.


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 29.  RE: SECURITY: Mandatory credentials not supplied

    Posted 01/08/20 01:51 AM

    Jonathan
    Does this mean any user from the host 192.168.0.1 can connect with out credentials when the application is .net.
    We also having same problem with .Net app. For me its only working when i provide username@hostname not *@hostname.

    *@192.168.0.1
    *@192.168.0.2
    Then point to that file by adding this line to server_common.conf:
    -DNirvana.auth.exempt=/path/to/file


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 30.  RE: SECURITY: Mandatory credentials not supplied

    Posted 01/08/20 04:01 AM

    Hi Krishna,

    This thread is pretty old. In the meantime plain SASL authentication (with a username and a password) was made available in .Net (depending on the version you are using you may have to install the latest fixes - check the respective fix readme for further information).

    To your question, you cannot use wildcards when adding users that are exception to authentication - only explicit user@host is allowed there.

    Thanks,
    Stefan


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker