It depends on your web service infrastructure. For example, if you're using pure web servers like Apache Tom Cat to authenticate JMS requests before reaching an EJB container hosting JMS services (resources), then you'll have to modify xml files and use one of the following security realms in the web container to configure the appropriate security roles: DataSourceRealm, JNDIRealm, JDBCRealm, and MemoryRealm. If you're using an EJB like GlassFish without a web server front-end to maintain security access to JMS services (resources), then you can use GlassFish services (GUI) to modify security and authentication (roles) for JMS services (resources) without having to modify xml files. So, you have to determine what type of JEE container is managing your security credentials. From there, you need to determine how roles and resources are mapped by that container.
Sincerely, Ishmael Thomas ________________________________________ From: sumit.wattal [sumit.watta...@gmail.com] Sent: Friday, October 11, 2013 12:10 PM To: users@activemq.apache.org Subject: what credentials does activemq-bstat accept Hi, I have a ActiveMQ 5.8 broker setup on my machine and wanted to check the broker stats. While running activemq-admin bstat <brokername> --jmxurl service:jmx:rmi:///jndi/rmi://127.0.0.1:1099/jmxrmi --jmxuser <userName from jmx.access> --jmxpassword <password from jmx.password> I always get an exception saying - Authentication failed! Credentials required I have configured the broker to use Jmx. Thanks, Sumit -- View this message in context: http://activemq.2283324.n4.nabble.com/what-credentials-does-activemq-bstat-accept-tp4672681.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.