tigase.xmpp.impl
Class JabberIqAuth

java.lang.Object
  extended by tigase.xmpp.XMPPProcessor
      extended by tigase.xmpp.impl.JabberIqAuth
All Implemented Interfaces:
Comparable<XMPPImplIfc>, 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_NAMES, ALL_PATHS
 
Fields inherited from interface tigase.xmpp.XMPPImplIfc
CLIENT_XMLNS
 
Constructor Summary
JabberIqAuth()
           
 
Method Summary
 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
 
Methods inherited from class tigase.xmpp.XMPPProcessor
canHandle, compareTo, concurrentThreadsPerQueue, getInstance, getStatistics, isSupporting, supElements, supTypes
 
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
canHandle, concurrentThreadsPerQueue, getStatistics, isSupporting, supElements, supTypes
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

JabberIqAuth

public JabberIqAuth()
Method Detail

concurrentQueuesNo

public int concurrentQueuesNo()
Method description

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

init

public void init(Map<String,Object> settings)
          throws TigaseDBException
Method description

Specified by:
init in interface XMPPImplIfc
Overrides:
init in class XMPPProcessor
Parameters:
settings -
Throws:
TigaseDBException

id

public String id()
Method description

Specified by:
id in interface XMPPImplIfc
Returns:

process

public void process(Packet packet,
                    XMPPResourceConnection session,
                    NonAuthUserRepository repo,
                    Queue<Packet> results,
                    Map<String,Object> settings)
             throws XMPPException
Method description

Specified by:
process in interface XMPPProcessorIfc
Parameters:
packet -
session -
repo -
results -
settings -
Throws:
XMPPException

doAuth

protected Authorization doAuth(NonAuthUserRepository repo,
                               Map<String,Object> settings,
                               XMPPResourceConnection session,
                               tigase.xmpp.BareJID user_id,
                               String password,
                               String digest)
Method description

Parameters:
repo -
settings -
session -
user_id -
password -
digest -
Returns:

supDiscoFeatures

public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
Method description

Specified by:
supDiscoFeatures in interface XMPPImplIfc
Overrides:
supDiscoFeatures in class XMPPProcessor
Parameters:
session -
Returns:

supElementNamePaths

public String[][] supElementNamePaths()
Method description

Specified by:
supElementNamePaths in interface XMPPImplIfc
Overrides:
supElementNamePaths in class XMPPProcessor
Returns:

supNamespaces

public String[] supNamespaces()
Method description

Specified by:
supNamespaces in interface XMPPImplIfc
Overrides:
supNamespaces in class XMPPProcessor
Returns:

supStreamFeatures

public tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
Method description

Specified by:
supStreamFeatures in interface XMPPImplIfc
Overrides:
supStreamFeatures in class XMPPProcessor
Parameters:
session -
Returns:


Copyright © 2013 Tigase. All rights reserved.