qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Matos <bruno.ma...@paradigmaxis.pt>
Subject Re: We've got an App for that .... Qpid Web Based GUI - and more - just released.
Date Fri, 01 Feb 2013 11:10:28 GMT
Hi Fraser,

I think the default sasl configuration will accept anything as the
username, it only forces the UserID of the message to be the same as the
authentication's username.

Regards.

On Ter, 2013-01-29 at 19:04 +0000, Fraser Adams wrote:
> Hi Bruno,
> are you *sure* that this worked?
> 
> So I've literally just tried a basic JMS consumer with a broker fired up 
> with qpidd (e.g. authentication enabled) and I used a ConnectionURL
> 
> connectionfactory.ConnectionFactory = 
> amqp://anonymous:anonymous@clientid/test?brokerlist='tcp://localhost:5672'
> 
> and my broker said:
> 
> 2013-01-29 18:51:01 warning Failed to retrieve sasl username
> 
> 
> Similarly if I add a URL of "anonymous/anonymous@localhost:5672" in the 
> GUI my broker says the same. This latter case creates a Java 
> ConnectionURL the same as my standalone JMS consumer mentioned above.
> 
> If I do qpidd --auth no it works fine, but not with authentication enabled.
> 
> If you enable log notice in the log4j.xml I think that ConnectionHelper 
> (in v1.1 anyway) spits out the Java ConnectionURL it created so it'd be 
> interesting to see what that says and if you could also confirm you 
> really did use the default this time (you didn't disable auth in config)
> 
> What you appear to be seeing all seems a bit odd, especially given 
> Pavel's mail about the outstanding bug, and as I say it's inconsistent 
> with what I've just seen, so I'm a bit baffled...
> 
> Frase
> 
> > I changed the default username and password to anonymous in
> > ConnectionHelper.java:569, and it works for now. I don't know the
> > difference between guest/guest and anonymous/anonymous, usually I work
> > with authentication.
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 

-- 
Bruno Matos


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message