activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stan Lewis <sle...@fusesource.com>
Subject Re: XMPP authentication
Date Thu, 07 Jul 2011 16:00:30 GMT
Currently the XMPP transport works best with the Smack library as a
client, that's certainly the most tested:

https://svn.apache.org/repos/asf/activemq/trunk/activemq-xmpp/src/test/java/org/apache/activemq/transport/xmpp/XmppTest.java

With other clients your mileage may vary, it's likely in your case
your client is reporting this error because the XMPP transport is
throwing an exception when your client sends it's username/password,
that should show up in the activemq log if you turn up logging for the
xmpp transport packages.  Also some clients have a debug console
that'll let you see the XMPP traffic which could help if you want to
look into it further.

On Thu, Jul 7, 2011 at 8:05 AM, James Green <james.mk.green@gmail.com> wrote:
> Trying to get XMPP to work. Can connect but am told "Invalid username or
> password".
>
> I don't currently have any authentication set up except the system / manager
> set that AMQ ships with for JMX purposes. Stomp connections require no
> username/password.
>
> Right now all we want to do is see it "working". I tried adding <plugins>
> with: <simpleAuthenticationPlugin> <users> <authenticationUser username=
> "system" password="manager" groups="users,admins"/> <authenticationUser
> username="user" password="password" groups="users"/> <authenticationUser
> username="guest" password="password" groups="guests"/>
> </users></simpleAuthenticationPlugin> as per the security
> documentation but that
> locked everything out including system/manager and guest/password.
>
> Any ideas?
>
> Thanks,
>
> James
>

Mime
View raw message