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

时间:2020-08-13 22:04:55

标签: spring jboss

客户端应用程序(不在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)

0 个答案:

没有答案