Specifying an Access Label Hint for a Broker Client
When using the access label feature, a client can specify a hint string to be used to look up the client's access label. The access label look up occurs only when creating a client. The hint string will be ignored when reconnecting a Broker client.
The connection is created in stopped mode. Messages will not be delivered until the Connection.start method is explicitly called.
To assign an access label hint for a Broker client, the following API calls are provided for JMS and C#:
JMS Messaging:
public interface WmConnectionFactory {
// Creates a connection with the specified user identity and
access label hint.
public Connection createConnection(String userName, String password,
String accessLabelHint)
}
C# Messaging:
public interface IConnectionFactory {
// Creates a connection with the specified user identity and
access label hint.
IConnection CreateConnection(String clientCertDistiguishedName,
String accessLabelHint);
}