tigase.xmpp.impl
Class JabberIqAuth

java.lang.Object
  extended by tigase.xmpp.XMPPProcessor
      extended by tigase.xmpp.impl.JabberIqAuth
All Implemented Interfaces:
Comparable<XMPPProcessor>, XMPPImplIfc, XMPPProcessorIfc

public class JabberIqAuth
extends XMPPProcessor
implements XMPPProcessorIfc

JEP-0078: Non-SASL Authentication Created: Thu Feb 16 17:46:16 2006

Version:
$Rev$
Author:
Artur Hefczyc

Field Summary
 
Fields inherited from class tigase.xmpp.XMPPProcessor
ALL
 
Constructor Summary
JabberIqAuth()
           
 
Method Summary
 int concurrentQueuesNo()
          Method description
 int concurrentThreadsPerQueue()
          Method description
 String id()
          Method id returns a unique ID of the plugin.
 void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
           
 tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
          Method description
 String[] supElements()
          Method description
 String[] supNamespaces()
          Method description
 tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
          Method description
 
Methods inherited from class tigase.xmpp.XMPPProcessor
compareTo, getInstance, init, isSupporting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface tigase.xmpp.XMPPImplIfc
init, isSupporting
 

Constructor Detail

JabberIqAuth

public JabberIqAuth()
Method Detail

supDiscoFeatures

public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
Description copied from class: XMPPProcessor
Method description

Specified by:
supDiscoFeatures in interface XMPPImplIfc
Overrides:
supDiscoFeatures in class XMPPProcessor
Parameters:
session - a XMPPResourceConnection value
Returns:
an Element[] value

id

public String id()
Description copied from interface: XMPPImplIfc
Method id returns a unique ID of the plugin. Each plugin has own, unique ID which is used in the configuration file to determine whether it needs to be loaded or not. In most cases the ID can be equal to XMLNS of the packages processed by the plugin.

Specified by:
id in interface XMPPImplIfc
Returns:
a String value

supElements

public String[] supElements()
Description copied from class: XMPPProcessor
Method description

Specified by:
supElements in interface XMPPImplIfc
Overrides:
supElements in class XMPPProcessor
Returns:
a String[] value

supNamespaces

public String[] supNamespaces()
Description copied from class: XMPPProcessor
Method description

Specified by:
supNamespaces in interface XMPPImplIfc
Overrides:
supNamespaces in class XMPPProcessor
Returns:
a String[] value

supStreamFeatures

public tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
Description copied from class: XMPPProcessor
Method description

Specified by:
supStreamFeatures in interface XMPPImplIfc
Overrides:
supStreamFeatures in class XMPPProcessor
Parameters:
session - a XMPPResourceConnection value
Returns:
an Element[] value

concurrentQueuesNo

public int concurrentQueuesNo()
Description copied from class: XMPPProcessor
Method description

Specified by:
concurrentQueuesNo in interface XMPPImplIfc
Overrides:
concurrentQueuesNo in class XMPPProcessor

concurrentThreadsPerQueue

public int concurrentThreadsPerQueue()
Description copied from class: XMPPProcessor
Method description

Specified by:
concurrentThreadsPerQueue in interface XMPPImplIfc
Overrides:
concurrentThreadsPerQueue in class XMPPProcessor

process

public void process(Packet packet,
                    XMPPResourceConnection session,
                    NonAuthUserRepository repo,
                    Queue<Packet> results,
                    Map<String,Object> settings)
             throws XMPPException
Specified by:
process in interface XMPPProcessorIfc
Throws:
XMPPException


Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.