Interface ServerSASLFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ServerSASL create​(org.apache.activemq.artemis.core.server.ActiveMQServer server, org.apache.activemq.artemis.spi.core.protocol.ProtocolManager<AmqpInterceptor,​AMQPRoutingHandler> manager, org.apache.activemq.artemis.spi.core.remoting.Connection connection, org.apache.activemq.artemis.spi.core.protocol.RemotingConnection remotingConnection)
      creates a new ServerSASL for the provided context
      java.lang.String getMechanism()  
      int getPrecedence()
      returns the precedence of the given SASL mechanism, the default precedence is zero, where higher means better
      boolean isDefaultPermitted()  
    • Method Detail

      • getMechanism

        java.lang.String getMechanism()
        Returns:
        the name of the scheme to offer
      • create

        ServerSASL create​(org.apache.activemq.artemis.core.server.ActiveMQServer server,
                          org.apache.activemq.artemis.spi.core.protocol.ProtocolManager<AmqpInterceptor,​AMQPRoutingHandler> manager,
                          org.apache.activemq.artemis.spi.core.remoting.Connection connection,
                          org.apache.activemq.artemis.spi.core.protocol.RemotingConnection remotingConnection)
        creates a new ServerSASL for the provided context
        Parameters:
        server -
        manager -
        connection -
        remotingConnection -
        Returns:
        a new instance of ServerSASL that implements the provided mechanism
      • getPrecedence

        int getPrecedence()
        returns the precedence of the given SASL mechanism, the default precedence is zero, where higher means better
        Returns:
        the precedence of this mechanism
      • isDefaultPermitted

        boolean isDefaultPermitted()
        Returns:
        true if this mechanism should be part of the servers default permitted protocols or false if it must be explicitly configured