setSSLPeerName

 

public void setSSLPeerName(String peerName) throws JMSException;

Sets a distinguished name (DN) pattern. If sslCipherSuite is set, this pattern can ensure that the correct queue manager is used. The connection attempt fails if the distinguished name provided by the queue manager does not match this pattern.

Parameters

  • peerName - the DN pattern. If set to null (the default), no checking of the queue manager's DN pattern is performed. This property is ignored if sslCipherSuite is null.

Exceptions

  • JMSException - if the supplied pattern is not valid.


uj28790_