[
https://issues.jboss.org/browse/AS7-4721?page=com.atlassian.jira.plugin.s...
]
Miroslav Novak moved JBPAPP-8936 to AS7-4721:
---------------------------------------------
Project: Application Server 7 (was: JBoss Enterprise Application Platform)
Key: AS7-4721 (was: JBPAPP-8936)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: 7.1.1.Final
(was: EAP 6.0.0 ER 6)
Component/s: JMS
Security
(was: Security)
(was: HornetQ)
Security: (was: Public)
Fix Version/s: 7.1.2.Final (EAP)
(was: TBD EAP 6)
Docs QE Status: (was: NEW)
CLONE - Jms client can't authenticate to messaging subsystem
------------------------------------------------------------
Key: AS7-4721
URL:
https://issues.jboss.org/browse/AS7-4721
Project: Application Server 7
Issue Type: Bug
Components: JMS, Security
Affects Versions: 7.1.1.Final
Reporter: Miroslav Novak
Assignee: Clebert Suconic
Fix For: 7.1.2.Final (EAP)
Jms client can't authenticate to messaging subsystem. I've prepared reproducer
for EAP 6 ER6 but this issue is also in AS7 master.
Exception:
{code}
Exception in thread "main" javax.jms.JMSSecurityException: Unable to validate
user: admin
at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:312)
at
org.hornetq.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:781)
at
org.hornetq.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:280)
at org.hornetq.jms.client.HornetQConnection.authorize(HornetQConnection.java:601)
at
org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:684)
at
org.hornetq.jms.client.HornetQConnectionFactory.createConnection(HornetQConnectionFactory.java:119)
at testjndi.SecurityClient.getConnection(SecurityClient.java:308)
at testjndi.SecurityClient.initializeClient(SecurityClient.java:83)
at testjndi.SecurityClient.main(SecurityClient.java:363)
Caused by: HornetQException[errorCode=105 message=Unable to validate user: admin]
... 9 more
Steps to reproduce:
1. Download and unzip EAP 6 ER6 -
http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-6.0.0-ER6/j...
2. Using addUser.sh create user to application realm - for example with username: admin,
password:adminadmin, role:guest
3. Unzip attached reproducer.zip and copy standalone-full-ha.xml to
$JBOSS_HOME/stanalone/configuration
4. Start server
5. Start jms client in reproducer - sh start-client.sh 127.0.0.1 jms/queue/testQueue0
admin adminadmin (parameters are hostname queueJndiName username password)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira