Universal Messaging 9.10 | Universal Messaging Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C# | Basic Authentication | Prerequisites for Basic Authentication
 
Prerequisites for Basic Authentication
In order to enable SASL authentication in .NET, the library S22_SASL.dll and its dependency BouncyCastle.Crypto.dll must be made available in the same application domain as the Universal Messaging library. The easiest away to do this is to add a reference to the S22_SASL.dll library whenever you have a reference to any Universal Messaging .NET libraries. Alternatively the assembly can be loaded into the current application domain using System.Reflection.Assembly.Load() and supplying the path to the S22_SASL.dll file.
The files S22_SASL.dll and BouncyCastle.Crypto.dll may be downloaded from the Software AG TechCommunity here: http://techcommunity.softwareag.com/ecosystem/communities/public/apama/products/universal-messaging/downloads/.
Once the assembly is available, it will be automatically picked up when creating a session (whether via a client session, realm node or RX session) and used to connect to the server. If the assembly is unavailable and authentication credentials are supplied, an exception will be thrown when attempting to connect to the server, stating that no SASL implementations are available.
If authentication is not enabled on the server, the client will default to a standard connection without authentication.

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.