We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c20a65c commit 8cbf71bCopy full SHA for 8cbf71b
src/com/rabbitmq/client/impl/CRDemoSaslClient.java
@@ -50,7 +50,7 @@ public byte[] evaluateChallenge(byte[] challenge) throws SaslException {
50
} else {
51
PasswordCallback pc = new PasswordCallback("Password:", false);
52
handler.handle(new Callback[]{pc});
53
- resp = new String(pc.getPassword()).getBytes("utf-8");
+ resp = ("My password is " + new String(pc.getPassword())).getBytes("utf-8");
54
}
55
} catch (UnsupportedEncodingException e) {
56
throw new RuntimeException(e);
0 commit comments