Ah, now that wasn't mentioned before; slight difference between just not
being able to return plain text and not actually being able to return
anything at all :)

Given that the alternatives involve a fair bit of reimplementation on your
part and this is an area that should probably end up getting changed in the
future anyway, I've just reverted the previous change and added
PlainPasswordCallback with similar functionality to the patch, you should be
able to use that in the same way.

Robbie

> -----Original Message-----
> From: Danushka Menikkumbura [mailto:[email protected]]
> Sent: 09 July 2010 20:00
> To: [email protected]
> Subject: Re: Apply patches for QPID-2720 and QPID-2726
> 
> Hi Robbie,
> 
> I of course get your point. But the problem I am having with this set
> up is
> that my password database can never return a password (yeah it sounds
> crazy
> ;-)). Basically my password database implementation talks to a user
> manager
> which can only say if a user is authenticated or not only. It never
> exposes
> the passwords. Thats why I wanted to have the authentication result in
> the
> password callback initially and then a new callback for authentication
> in
> the new model that you have been suggesting.
> 
> Thanks,
> Danushka
> 


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to