public class SaslAuth extends XMPPProcessor implements XMPPProcessorIfc
Modifier and Type | Class and Description |
---|---|
static class |
SaslAuth.ElementType
Enum description
|
Modifier and Type | Field and Description |
---|---|
static String |
ID
Field description
|
ALL_NAMES, ALL_PATHS, cmpInfo
CLIENT_XMLNS
Constructor and Description |
---|
SaslAuth() |
Modifier and Type | Method and Description |
---|---|
int |
concurrentQueuesNo()
Method description
|
String |
id()
Method description
|
void |
init(Map<String,Object> settings)
Method description
|
protected void |
onAuthFail(XMPPResourceConnection session)
Method description
|
void |
process(Packet packet,
XMPPResourceConnection session,
NonAuthUserRepository repo,
Queue<Packet> results,
Map<String,Object> settings)
Method description
|
tigase.xml.Element[] |
supDiscoFeatures(XMPPResourceConnection session)
Method description
|
String[][] |
supElementNamePaths()
Method description
|
String[] |
supNamespaces()
Method description
|
tigase.xml.Element[] |
supStreamFeatures(XMPPResourceConnection session)
Method description
|
canHandle, compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, isSupporting, supElements, supTypes, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canHandle, concurrentThreadsPerQueue, getComponentInfo, getStatistics, isSupporting, supElements, supTypes
compareTo
public static final String ID
public int concurrentQueuesNo()
concurrentQueuesNo
in interface XMPPImplIfc
concurrentQueuesNo
in class XMPPProcessor
public String id()
id
in interface XMPPImplIfc
String
valuepublic void init(Map<String,Object> settings) throws TigaseDBException
init
in interface XMPPImplIfc
init
in class XMPPProcessor
settings
- TigaseDBException
protected void onAuthFail(XMPPResourceConnection session)
session
- public void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
process
in interface XMPPProcessorIfc
packet
- session
- repo
- results
- settings
- public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures
in interface XMPPImplIfc
supDiscoFeatures
in class XMPPProcessor
session
- Element[]
valuepublic String[][] supElementNamePaths()
supElementNamePaths
in interface XMPPImplIfc
supElementNamePaths
in class XMPPProcessor
String[][]
value is an array for element paths for which
the plugin offers processing capabilities. Each path is in form of a String array
in order to reduce parsing overhead.public String[] supNamespaces()
supNamespaces
in interface XMPPImplIfc
supNamespaces
in class XMPPProcessor
String[]
valuepublic tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
supStreamFeatures
in interface XMPPImplIfc
supStreamFeatures
in class XMPPProcessor
session
- Element[]
valueCopyright © 2014 "Tigase, Inc.". All rights reserved.