-
Bug
-
Resolution: Done
-
Major
-
10.0.0.Beta1
-
None
Although remote calls requires to create an user and use explicit user credentials, in EAP 6 there is an workaround for that, see JBPAPP6-1529. However, when I test the workaround in EAP 7, the JMS client is not considered as "guest" user.
javax.jms.JMSSecurityException: AMQ119031: Unable to validate user: null at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:410) at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:335) at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:262) at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1540) at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:744) at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:311) at org.apache.activemq.artemis.jms.client.ActiveMQConnection.authorize(ActiveMQConnection.java:720) at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:819) at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:170) at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:165) at org.jboss.qa.hornetq.test.security.SecurityClient.getConnection(SecurityClient.java:409) at org.jboss.qa.hornetq.test.security.SecurityClient.initializeClient(SecurityClient.java:114) at org.jboss.qa.hornetq.test.security.PermissionSecurityTestCase.testSecurityWithGuest(PermissionSecurityTestCase.java:123)
- clones
-
JBEAP-773 JMS client which does not specify user/password during creating connection to server is not considered as "guest"
- Closed