Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.rabbitmq.client
Interface SaslMechanism

All Known Implementing Classes:
  CRDemoMechanism, ExternalMechanism, PlainMechanism

    public interface SaslMechanism

Our own view of a SASL authentication mechanism, introduced to remove a dependency on javax.security.sasl.

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

Method Detail

### getName

    java.lang.String getName()

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

  Returns:
    the name

### handleChallenge

    LongString handleChallenge(LongString challenge,
                               java.lang.String username,
                               java.lang.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
  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD