File tree 1 file changed +12
-9
lines changed
src/main/java/com/rabbitmq/client/impl
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.
2
3
//
3
4
// This software, the RabbitMQ Java client library, is triple-licensed under the
4
5
// Mozilla Public License 2.0 ("MPL"), the GNU General Public License version 2
20
21
21
22
/**
22
23
* The ANONYMOUS auth mechanism
24
+ *
25
+ * <p>Requires RabbitMQ 4.0 or more.
23
26
*/
24
27
public class AnonymousMechanism implements SaslMechanism {
25
- @ Override
26
- public String getName () {
27
- return "ANONYMOUS" ;
28
- }
28
+ @ Override
29
+ public String getName () {
30
+ return "ANONYMOUS" ;
31
+ }
29
32
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
+ }
34
37
}
You can’t perform that action at this time.
0 commit comments