public class BindProfile extends java.lang.Object
It is not necessary to specify AuthenticationDetails when creating a BindProfile. If AuthenticationsDetails are specified, then the API will always use these when attempting to connect to the server, and the connection will not succeed if authentication fails.
If no AuthenticationDetails are specified, then the API will attempt a connection to the server using the details provided for the Queue Manager (assuming these have been provided).
If no AuthenticationDetails are specified and/or the Queue Manager's
authentication details do not succeed, then a the user's
will be invoked to obtain authentication details.
|Constructor and Description|
Construct a new BindProfile.
public BindProfile(java.lang.String hostName, int portNumber, AuthenticationDetails authDetails)
hostName- the hostname of the server, for example "myserver.myorg.net". Must not be null.
portNumber- the TCP/IP port number of the server, for example 389
authDetails- the authentication details to use. This may be null, in which case the MHFCM API will attempt to use the Queue Manager's AuthenticationDetails and/or call the user's
Version: 17.0v4-0Copyright (c) 2015-2018 Isode