Class ExternalServerSASLFactory

java.lang.Object
org.apache.activemq.artemis.protocol.amqp.sasl.ExternalServerSASLFactory
All Implemented Interfaces:
ServerSASLFactory

public class ExternalServerSASLFactory extends Object implements ServerSASLFactory
  • Constructor Details

    • ExternalServerSASLFactory

      public ExternalServerSASLFactory()
  • Method Details

    • getMechanism

      public String getMechanism()
      Description copied from interface: ServerSASLFactory
      Returns the name of the scheme to offer.
      Specified by:
      getMechanism in interface ServerSASLFactory
      Returns:
      the name of the scheme to offer
    • create

      public ServerSASL create(org.apache.activemq.artemis.core.server.ActiveMQServer server, ProtocolManager<AmqpInterceptor, AMQPRoutingHandler> manager, Connection connection, RemotingConnection remotingConnection)
      Description copied from interface: ServerSASLFactory
      creates a new ServerSASL for the provided context
      Specified by:
      create in interface ServerSASLFactory
      Returns:
      a new instance of ServerSASL that implements the provided mechanism
    • getPrecedence

      public int getPrecedence()
      Description copied from interface: ServerSASLFactory
      Returns the precedence of the given SASL mechanism, the default precedence is zero, where higher means better.
      Specified by:
      getPrecedence in interface ServerSASLFactory
      Returns:
      the precedence of the given SASL mechanism, the default precedence is zero, where higher means better
    • isDefaultPermitted

      public boolean isDefaultPermitted()
      Description copied from interface: ServerSASLFactory
      Returns true if this mechanism should be part of the servers default permitted protocols or false if it must be explicitly configured.
      Specified by:
      isDefaultPermitted in interface ServerSASLFactory
      Returns:
      true if this mechanism should be part of the servers default permitted protocols or false if it must be explicitly configured