Class SaslExternal
java.lang.Object
tigase.server.xmppserver.proc.S2SAbstract
tigase.server.xmppserver.proc.S2SAbstractProcessor
tigase.server.xmppserver.proc.AuthenticationProcessor
tigase.server.xmppserver.proc.SaslExternal
- All Implemented Interfaces:
Comparable<S2SProcessor>, S2SProcessor, StatisticsProviderIfc
@Bean(name="sasl-external",
parent=S2SConnectionManager.class,
active=true)
public class SaslExternal
extends AuthenticationProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from class S2SAbstractProcessor
S2SAbstractProcessor.Order -
Field Summary
FieldsFields inherited from class AuthenticationProcessor
authenticatorSelectorManagerFields inherited from class S2SAbstractProcessor
processorsComparatorFields inherited from class S2SAbstract
DB_RESULT_EL_NAME, DB_VERIFY_EL_NAME, DIALBACK_EL, DIALBACK_NS, FEATURES_DIALBACK_PATH, FEATURES_EL, FEATURES_NS, FEATURES_STARTTLS_PATH, FORCE_VERSION, handler, PROCEED_TLS_EL, RESULT_EL_NAME, START_TLS_EL, START_TLS_NS, STREAM_FEATURES_EL, VERIFY_EL_NAME, VERSION_ATT_NAME, XMLNS_CLIENT_VAL, XMLNS_DB_ATT, XMLNS_DB_VAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandle(Packet p, S2SIOService serv, Queue<Packet> results) voidgetStatistics(String compName, StatisticsList list) intorder()Returns order of processor which is used to set order in which processors will be processing packetbooleanprocess(Packet p, S2SIOService serv, Queue<Packet> results) voidrestartAuth(Packet p, S2SIOService serv, Queue<Packet> results) voidsetSkipForDomains(String[] skipForDomains) booleanshouldSkipUndelivered(Packet packet) Method determines whether not delivered packet (due to closed connection) should be skipped and not added for re-delivery.voidstreamFeatures(S2SIOService serv, List<Element> results) Methods inherited from class AuthenticationProcessor
serviceStartedMethods inherited from class S2SAbstractProcessor
compareTo, serviceStopped, setSkipTlsHosts, skipTLSForHost, streamClosed, streamOpenedMethods inherited from class S2SAbstract
generateStreamError, generateStreamError, initMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface S2SProcessor
init, stopProcessing
-
Field Details
-
FEATURES_SASL_PATH
-
-
Constructor Details
-
SaslExternal
public SaslExternal()
-
-
Method Details
-
getMethodName
-
setSkipForDomains
-
streamFeatures
- Specified by:
streamFeaturesin interfaceS2SProcessor- Overrides:
streamFeaturesin classS2SAbstractProcessor
-
order
public int order()Description copied from interface:S2SProcessorReturns order of processor which is used to set order in which processors will be processing packet -
restartAuth
-
canHandle
-
getStatistics
- Specified by:
getStatisticsin interfaceStatisticsProviderIfc- Overrides:
getStatisticsin classS2SAbstractProcessor
-
process
- Specified by:
processin interfaceS2SProcessor- Overrides:
processin classS2SAbstractProcessor
-
shouldSkipUndelivered
Description copied from interface:S2SProcessorMethod determines whether not delivered packet (due to closed connection) should be skipped and not added for re-delivery. We should not re-add certain packets such as stream features or SASL as those are related to particular connection and if it got broken then there's no point in trying to re-deliver them.- Parameters:
packet- which was not delivered and is to be re-delivered- Returns:
trueif the packet should be skipped/ignored orfalseif it is to be re-delivered.
-