public class JabberIqAuth extends XMPPProcessor implements XMPPProcessorIfc
ALL_NAMES, ALL_PATHS, cmpInfoCLIENT_XMLNS| Constructor and Description |
|---|
JabberIqAuth() |
| Modifier and Type | Method and Description |
|---|---|
int |
concurrentQueuesNo()
Method description
|
protected Authorization |
doAuth(NonAuthUserRepository repo,
Map<String,Object> settings,
XMPPResourceConnection session,
tigase.xmpp.BareJID user_id,
String password,
String digest)
Method description
|
String |
id()
Method description
|
void |
init(Map<String,Object> settings)
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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, concurrentThreadsPerQueue, getComponentInfo, getStatistics, isSupporting, supElements, supTypescompareTopublic int concurrentQueuesNo()
concurrentQueuesNo in interface XMPPImplIfcconcurrentQueuesNo in class XMPPProcessorpublic void init(Map<String,Object> settings) throws TigaseDBException
init in interface XMPPImplIfcinit in class XMPPProcessorsettings - TigaseDBExceptionpublic String id()
id in interface XMPPImplIfcString valuepublic void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings) throws XMPPException
process in interface XMPPProcessorIfcpacket - session - repo - results - settings - XMPPExceptionprotected Authorization doAuth(NonAuthUserRepository repo, Map<String,Object> settings, XMPPResourceConnection session, tigase.xmpp.BareJID user_id, String password, String digest)
repo - settings - session - user_id - password - digest - public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures in interface XMPPImplIfcsupDiscoFeatures in class XMPPProcessorsession - Element[] valuepublic String[][] supElementNamePaths()
supElementNamePaths in interface XMPPImplIfcsupElementNamePaths in class XMPPProcessorString[][] 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 XMPPImplIfcsupNamespaces in class XMPPProcessorString[] valuepublic tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
supStreamFeatures in interface XMPPImplIfcsupStreamFeatures in class XMPPProcessorsession - Element[] valueCopyright © 2013 Tigase. All rights reserved.