从客户端到JBOSS EAP 7.2服务器的春季远程

问题描述

客户端应用程序(不在JBOSS上)使用Spring Remoting(httpinvokerClientInterceptor.invoke)来通信在另一台服务器上托管的JBOSS上运行的应用程序。

升级到JBOSS EAP7.2后,此方法不起作用。据我了解,JBOSS7需要首先对连接进行身份验证。

我尝试传递org.springframework.security.authentication.UsernamePasswordAuthenticationToken。那没用。在我看来,客户端应用程序服务器具有首先建立的JBOSS7.2身份验证的远程出站连接。 我该怎么办?

异常-嵌套异常为java.io.IOException:未收到 成功的HTTP响应:状态代码= 403,状态消息= [禁止] org.springframework.remoting.httpinvoker.httpinvokerClientInterceptor.converthttpinvokerAccessException(httpinvokerClientInterceptor.java:212) 在 org.springframework.remoting.httpinvoker.httpinvokerClientInterceptor.invoke(httpinvokerClientInterceptor.java:145) 在 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) 在 org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)