From a3f0153ea94ad6a9dddef87947c384f0798f7ec8 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 30 Nov 2011 19:48:47 +0000 Subject: QPID-3654: ANONYMOUS SASL mechanism does not work on Java client Added a CallbackHandler for the ANONYMOUS mechanism (even though it should never be called) - This is necessary because the client uses the map of callback handlers to construct the list of available mechanisms. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1208733 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/qpid/client/security/CallbackHandlerRegistry.properties | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'java') diff --git a/java/client/src/main/java/org/apache/qpid/client/security/CallbackHandlerRegistry.properties b/java/client/src/main/java/org/apache/qpid/client/security/CallbackHandlerRegistry.properties index b04a756e80..8855a040ea 100644 --- a/java/client/src/main/java/org/apache/qpid/client/security/CallbackHandlerRegistry.properties +++ b/java/client/src/main/java/org/apache/qpid/client/security/CallbackHandlerRegistry.properties @@ -6,9 +6,9 @@ # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -30,3 +30,4 @@ CRAM-MD5-HASHED.3=org.apache.qpid.client.security.UsernameHashedPasswordCallback CRAM-MD5.4=org.apache.qpid.client.security.UsernamePasswordCallbackHandler AMQPLAIN.5=org.apache.qpid.client.security.UsernamePasswordCallbackHandler PLAIN.6=org.apache.qpid.client.security.UsernamePasswordCallbackHandler +ANONYMOUS.7=org.apache.qpid.client.security.UsernamePasswordCallbackHandler -- cgit v1.2.1