|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.rabbitmq.client.impl.CRDemoMechanism
public class CRDemoMechanism
Provides equivalent security to PLAIN but demos use of Connection.Secure(Ok) START-OK: Username SECURE: "Please tell me your password" SECURE-OK: Password
| Nested Class Summary | |
|---|---|
static class |
CRDemoMechanism.CRDemoSaslConfig
|
| Constructor Summary | |
|---|---|
CRDemoMechanism()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
The name of this mechanism (e.g. |
LongString |
handleChallenge(LongString challenge,
java.lang.String username,
java.lang.String password)
Handle one round of challenge-response |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CRDemoMechanism()
| Method Detail |
|---|
public java.lang.String getName()
SaslMechanism
getName in interface SaslMechanism
public LongString handleChallenge(LongString challenge,
java.lang.String username,
java.lang.String password)
SaslMechanism
handleChallenge in interface SaslMechanismchallenge - the challenge this round, or null on first round.username - name of userpassword - for username
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||