Jboss EAP 6.3:HQ119031:无法验证用户:null [英] Jboss EAP 6.3: HQ119031: Unable to validate user: null
问题描述
错误HQ224018:无法创建会话:HornetQException [errorType = SECURITY_EXCEPTION消息= HQ119031:无法验证用户:null]
ERROR HQ224018: Failed to create session: HornetQException[errorType=SECURITY_EXCEPTION message=HQ119031: Unable to validate user: null]
当Jboss EAP 6.3服务器即将接收JMS消息时.我已经通过remoting
子系统成功验证了用户,为什么用户为null?如何克服这个错误?
When the Jboss EAP 6.3 server is about to receive JMS message. I have the user successfully authenticated by remoting
subsystem so why the user is null? How to overcome this error?
推荐答案
EAP文档可指导您:
EAP documentation encorage you to:
(...)将 allowClientLogin 设置为true(...)如果您希望HornetQ 使用传播的安全性进行身份验证,然后还将 authoriseOnClientLogin 设置为true.
(...) set allowClientLogin to true (...) If you would like HornetQ to authenticate using the propagated security then set the authoriseOnClientLogin to true also.
但是由于 HORNETQ-883错误,您必须关闭安全性消息:
But due to HORNETQ-883 bug you have to turn off security for messaging:
<hornetq-server>
<!-- … -->
<security-enabled>false</security-enabled>
<!-- … -->
</hornetq-server>
这篇关于Jboss EAP 6.3:HQ119031:无法验证用户:null的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!