public class

PlainMechanism

extends Object
implements SaslMechanism
java.lang.Object
   ↳ com.rabbitmq.client.impl.PlainMechanism

Class Overview

The PLAIN auth mechanism

Summary

Public Constructors
PlainMechanism()
Public Methods
String getName()
The name of this mechanism (e.g.
LongString handleChallenge(LongString challenge, String username, String password)
Handle one round of challenge-response
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.rabbitmq.client.SaslMechanism

Public Constructors

public PlainMechanism ()

Public Methods

public String getName ()

The name of this mechanism (e.g. PLAIN)

public LongString handleChallenge (LongString challenge, String username, String password)

Handle one round of challenge-response

Parameters
challenge the challenge this round, or null on first round.
username name of user
password for username
Returns
  • response