File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
src/main/java/com/rabbitmq/client/impl Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 1- // Copyright (c) 2007-2023 Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1+ // Copyright (c) 2007-2023 Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom
2+ // Inc. and/or its subsidiaries.
23//
34// This software, the RabbitMQ Java client library, is triple-licensed under the
45// Mozilla Public License 2.0 ("MPL"), the GNU General Public License version 2
2021
2122/**
2223 * The ANONYMOUS auth mechanism
24+ *
25+ * <p>Requires RabbitMQ 4.0 or more.
2326 */
2427public class AnonymousMechanism implements SaslMechanism {
25- @ Override
26- public String getName () {
27- return "ANONYMOUS" ;
28- }
28+ @ Override
29+ public String getName () {
30+ return "ANONYMOUS" ;
31+ }
2932
30- @ Override
31- public LongString handleChallenge (LongString challenge , String username , String password ) {
32- return LongStringHelper .asLongString ("" );
33- }
33+ @ Override
34+ public LongString handleChallenge (LongString challenge , String username , String password ) {
35+ return LongStringHelper .asLongString ("" );
36+ }
3437}
You can’t perform that action at this time.
0 commit comments