首页 > 解决方案 > 启用 ssl 的 Jboss 远程处理

问题描述

我需要使用 ssl enable 添加 Jboss 远程处理,即,(使用 https)。我拥有 jboss 远程处理所需的所有库。

所以我找到了一个带有服务器端代码的教程,如下所示

我想知道在哪里配置 "https" 和 ssl 。

import org.jboss.remoting.InvokerLocator;
import org.jboss.remoting.transport.*;

public class Server {
  public Server() throws Exception {
   InvokerLocator myLocator = new InvokerLocator("http://127.0.0.1:8888");
  Connector connector = new Connector();
  connector.setInvokerLocator(myLocator.getLocatorURI());
  connector.start();
   connector.addInvocationHandler("MYSYS",new MyInvocationHandler());
   }
   public static void main(String[] args) throws Exception {
    new Server();
  }
 }

标签: sslhttpsjbossremoting

解决方案


推荐阅读