tigase.auth

## Interface MechanismSelector

- All Known Implementing Classes:
    DefaultMechanismSelector

      public interface MechanismSelector

  Interface for implementing selectors of SASL mechanisms.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Collection<String>` | `filterMechanisms(Enumeration<SaslServerFactory> serverFactories, XMPPResourceConnection session)` Method filters all available SASL mechanisms from `factories` with current `session` state.

- - ### Method Detail

    - #### filterMechanisms

          Collection<String> filterMechanisms(Enumeration<SaslServerFactory> serverFactories,
                                              XMPPResourceConnection session)

      Method filters all available SASL mechanisms from `factories` with current `session` state.
      Parameters:
        `serverFactories` - `SaslServerFactory` enumeration.
        `session` - current session
      Returns:
        collection of all SASL mechanisms available in given session (and current XMPP Stream).

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.