mirror of https://github.com/apache/activemq.git
add some redirection to the deprecated method
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758908 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d2e9236f30
commit
24dced675c
|
@ -187,8 +187,10 @@ public class SslTransportFactory extends TcpTransportFactory {
|
|||
*
|
||||
* @param km
|
||||
* @param tm
|
||||
* @param object
|
||||
* @param random
|
||||
* @deprecated "Do not use anymore... using static initializers like this method only allows the JVM to use 1 SSL configuration per broker."
|
||||
* @see org.apache.activemq.broker.SslContext#setCurrentSslContext(SslContext)
|
||||
* @see org.apache.activemq.broker.SslContext#getSSLContext()
|
||||
*/
|
||||
public void setKeyAndTrustManagers(KeyManager[] km, TrustManager[] tm, SecureRandom random) {
|
||||
SslContext ctx = new SslContext(km, tm, random);
|
||||
|
|
Loading…
Reference in New Issue