Package tigase.auth

# Interface MechanismSelector

All Known Implementing Classes:
  `DefaultMechanismSelector`

public interface MechanismSelector
Interface for implementing selectors of SASL mechanisms.

- ## Method Summary

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

- ## Method Details

  - ### 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).