Class ExternalServerSASLFactory
java.lang.Object
org.apache.activemq.artemis.protocol.amqp.sasl.ExternalServerSASLFactory
- All Implemented Interfaces:
ServerSASLFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(org.apache.activemq.artemis.core.server.ActiveMQServer server, ProtocolManager<AmqpInterceptor, AMQPRoutingHandler> manager, Connection connection, RemotingConnection remotingConnection) creates a newServerSASLfor the provided contextReturns the name of the scheme to offer.intReturns the precedence of the given SASL mechanism, the default precedence is zero, where higher means better.booleanReturnstrueif this mechanism should be part of the servers default permitted protocols orfalseif it must be explicitly configured.
-
Constructor Details
-
ExternalServerSASLFactory
public ExternalServerSASLFactory()
-
-
Method Details
-
getMechanism
Description copied from interface:ServerSASLFactoryReturns the name of the scheme to offer.- Specified by:
getMechanismin interfaceServerSASLFactory- 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:ServerSASLFactorycreates a newServerSASLfor the provided context- Specified by:
createin interfaceServerSASLFactory- Returns:
- a new instance of
ServerSASLthat implements the provided mechanism
-
getPrecedence
public int getPrecedence()Description copied from interface:ServerSASLFactoryReturns the precedence of the given SASL mechanism, the default precedence is zero, where higher means better.- Specified by:
getPrecedencein interfaceServerSASLFactory- 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:ServerSASLFactoryReturnstrueif this mechanism should be part of the servers default permitted protocols orfalseif it must be explicitly configured.- Specified by:
isDefaultPermittedin interfaceServerSASLFactory- Returns:
trueif this mechanism should be part of the servers default permitted protocols orfalseif it must be explicitly configured
-