mirror of https://github.com/apache/activemq.git
tidied up imports
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550688 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1623820bf1
commit
0e0b6b731c
|
@ -18,21 +18,13 @@
|
||||||
|
|
||||||
package org.apache.activemq;
|
package org.apache.activemq;
|
||||||
|
|
||||||
import org.apache.activemq.transport.Transport;
|
|
||||||
import org.apache.activemq.transport.TransportFactory;
|
|
||||||
import org.apache.activemq.transport.tcp.SslTransportFactory;
|
|
||||||
import org.apache.activemq.util.JMSExceptionSupport;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import java.net.URISyntaxException;
|
|
||||||
import java.security.KeyManagementException;
|
|
||||||
import java.security.NoSuchAlgorithmException;
|
|
||||||
import java.security.SecureRandom;
|
import java.security.SecureRandom;
|
||||||
|
|
||||||
import javax.jms.JMSException;
|
import javax.jms.JMSException;
|
||||||
import javax.net.ssl.KeyManager;
|
import javax.net.ssl.KeyManager;
|
||||||
import javax.net.ssl.SSLContext;
|
|
||||||
import javax.net.ssl.TrustManager;
|
import javax.net.ssl.TrustManager;
|
||||||
|
import org.apache.activemq.transport.Transport;
|
||||||
|
import org.apache.activemq.transport.tcp.SslTransportFactory;
|
||||||
|
import org.apache.activemq.util.JMSExceptionSupport;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An ActiveMQConnectionFactory that allows access to the key and trust managers used for SslConnections.
|
* An ActiveMQConnectionFactory that allows access to the key and trust managers used for SslConnections.
|
||||||
|
@ -57,7 +49,7 @@ public class ActiveMQSslConnectionFactory extends ActiveMQConnectionFactory {
|
||||||
* @param tm The TrustManagers used.
|
* @param tm The TrustManagers used.
|
||||||
* @param random The SecureRandom number used.
|
* @param random The SecureRandom number used.
|
||||||
*/
|
*/
|
||||||
public void setKeyAndTrustManagers(KeyManager[] km, TrustManager[] tm, SecureRandom random) {
|
public void setKeyAndTrustManagers(final KeyManager[] km, final TrustManager[] tm, final SecureRandom random) {
|
||||||
keyManager = km;
|
keyManager = km;
|
||||||
trustManager = tm;
|
trustManager = tm;
|
||||||
secureRandom = random;
|
secureRandom = random;
|
||||||
|
|
Loading…
Reference in New Issue