Package tigase.auth.mechanisms

# Class TigaseSaslServerFactory

java.lang.Object
tigase.auth.mechanisms.TigaseSaslServerFactory

All Implemented Interfaces:
  `SaslServerFactory`

@Bean(name="tigaseSaslServerFactory", parent=TigaseSaslProvider.class, active=true) public class TigaseSaslServerFactory extends Object implements SaslServerFactory

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `ANONYMOUS_MECHANISM_ALLOWED`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TigaseSaslServerFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SaslServer`
  `createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler callbackHandler)`
  `String[]`
  `getMechanismNames(Map<String,?> props)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### ANONYMOUS_MECHANISM_ALLOWED

    public static final String ANONYMOUS_MECHANISM_ALLOWED
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### TigaseSaslServerFactory

    public TigaseSaslServerFactory()

- ## Method Details

  - ### createSaslServer

    public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler callbackHandler) throws SaslException
    Specified by:
      `createSaslServer` in interface `SaslServerFactory`
    Throws:
      `SaslException`

  - ### getMechanismNames

    public String[] getMechanismNames(Map<String,?> props)
    Specified by:
      `getMechanismNames` in interface `SaslServerFactory`