-
1. Re: Checking queue passwords without connecting to them.
ataylor Oct 17, 2013 5:04 AM (in response to qtm)I'd like to see in advance if my credentials are correct for the queues in a server. Is there a method like boolean checkCredentials(String user, String password, Queue queue) for a queue? The last param could be ClientQueue or any other HornetQ core queue representation. Wouldn't it be faster than trying to connect to the queue?
Im not sure what you mean in advance of, the credentials are checked when you create the connection.
-
2. Re: Checking queue passwords without connecting to them.
qtm Oct 17, 2013 7:41 AM (in response to ataylor)Yes, they are checked at connection time. Isn't there any overhead that could be avoided? I haven't looked over the implementation, if the security check is the first thing done, then my question is pointless.
-
3. Re: Checking queue passwords without connecting to them.
ataylor Oct 17, 2013 7:44 AM (in response to qtm)Isn't there any overhead that could be avoided?
no matter how you check there is an overhead, and yes the check is done on createconnection(....)