# Uses of Enum Class
tigase.xmpp.Authorization

Packages that use Authorization
Package
Description
tigase.component.adhoc
tigase.component.exceptions
tigase.server.bosh
tigase.server.xmppclient
tigase.workgroupqueues
tigase.xmpp
tigase.xmpp.impl
Package containing implementation of all Session Manager plugins
tigase.xmpp.impl.push

- ## Uses of Authorization in tigase.component.adhoc

  Methods in tigase.component.adhoc that return Authorization
  Modifier and Type
  Method
  Description
  `Authorization`
  AdHocCommandException.`getErrorCondition()`
  Constructors in tigase.component.adhoc with parameters of type Authorization
  Modifier
  Constructor
  Description
  ``
  `AdHocCommandException(Element item, Authorization errorCondition)`
  ``
  `AdHocCommandException(Element item, Authorization errorCondition, String message)`
  ``
  `AdHocCommandException(Authorization errorCondition)`
  ``
  `AdHocCommandException(Authorization errorCondition, String message)`

- ## Uses of Authorization in tigase.component.exceptions

  Constructors in tigase.component.exceptions with parameters of type Authorization
  Modifier
  Constructor
  Description
  ``
  `ComponentException(Authorization errorCondition)`
  ``
  `ComponentException(Authorization errorCondition, String text)`
  ``
  `ComponentException(Authorization errorCondition, String text, String message)`
  ``
  `ComponentException(Authorization errorCondition, String text, String message, Throwable cause)`
  ``
  `ComponentException(Authorization errorCondition, String text, Throwable cause)`

- ## Uses of Authorization in tigase.server.bosh

  Methods in tigase.server.bosh with parameters of type Authorization
  Modifier and Type
  Method
  Description
  `void`
  BoshIOService.`sendErrorAndStop(Authorization errorCode, StreamError streamError, Packet packet, String errorMsg)`

- ## Uses of Authorization in tigase.server.xmppclient

  Constructors in tigase.server.xmppclient with parameters of type Authorization
  Modifier
  Constructor
  Description
  ``
  `ResumptionException(Authorization errorCondition)`

- ## Uses of Authorization in tigase.workgroupqueues

  Constructors in tigase.workgroupqueues with parameters of type Authorization
  Modifier
  Constructor
  Description
  ``
  `ComponentException(Authorization errorCondition)`
  ``
  `ComponentException(Authorization errorCondition, String text)`
  ``
  `ComponentException(Authorization errorCondition, String text, String message)`

- ## Uses of Authorization in tigase.xmpp

  Fields in tigase.xmpp declared as Authorization
  Modifier and Type
  Field
  Description
  `protected Authorization`
  RepositoryAccess.`authState`
  Current authorization state - initialy session i `NOT_AUTHORIZED`.
  Methods in tigase.xmpp that return Authorization
  Modifier and Type
  Method
  Description
  `Authorization`
  XMPPImplIfc.`canHandle(Packet packet, XMPPResourceConnection conn)`
  By default the method uses `XMPPImplIfc.supElementNamePaths()` and `XMPPImplIfc.supTypes()` method results to determine whether the plugin would process given packet.
  `Authorization`
  XMPPProcessor.`canHandle(Packet packet, XMPPResourceConnection conn)`
  `Authorization`
  RepositoryAccess.`changeRegistration(String name_param, String pass_param, Map<String,String> registr_params)`
  `final Authorization`
  RepositoryAccess.`getAuthState()`
  Gets the value of authState
  `static Authorization`
  Authorization.`getByCondition(String condition)`
  `Authorization`
  XMPPProcessorException.`getErrorCondition()`
  `Authorization`
  RepositoryAccess.`unregister(String name_param)`
  Deprecated.
  `Authorization`
  XMPPResourceConnection.`unregister(String name_param)`
  Deprecated.
  Code moved to `JabberIqRegister.doRemoveAccount(Packet, Element, XMPPResourceConnection, Queue)`
  `static Authorization`
  Authorization.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static Authorization[]`
  Authorization.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Constructors in tigase.xmpp with parameters of type Authorization
  Modifier
  Constructor
  Description
  ``
  `XMPPProcessorException(Authorization errorCondition)`
  ``
  `XMPPProcessorException(Authorization errorCondition, String text)`
  ``
  `XMPPProcessorException(Authorization errorCondition, String text, String message)`
  ``
  `XMPPProcessorException(Authorization errorCondition, String text, String message, Throwable cause)`
  ``
  `XMPPProcessorException(Authorization errorCondition, String text, Throwable cause)`

- ## Uses of Authorization in tigase.xmpp.impl

  Methods in tigase.xmpp.impl that return Authorization
  Modifier and Type
  Method
  Description
  `Authorization`
  FlexibleOfflineMessageRetrieval.`canHandle(Packet packet, XMPPResourceConnection conn)`
  `Authorization`
  JabberIqCommand.`canHandle(Packet packet, XMPPResourceConnection conn)`
  `Authorization`
  JabberIqStats.`canHandle(Packet packet, XMPPResourceConnection conn)`
  `Authorization`
  MIXProcessor.`canHandle(Packet packet, XMPPResourceConnection conn)`
  `protected Authorization`
  JabberIqAuth.`doAuth(NonAuthUserRepository repo, Map<String,Object> settings, XMPPResourceConnection session, BareJID user_id, String password, String digest)`
  `Authorization`
  OfflineMessages.`savePacketForOffLineUser(Packet packet, OfflineMsgRepositoryIfc repo, NonAuthUserRepository userRepo)`
  Method stores messages to offline repository with the following rules applied, i.e. saves only: message stanza with either nonempty `<body>`, `<event>` or `<header>` child element and only messages of type normal, chat. presence stanza of type subscribe, subscribed, unsubscribe and unsubscribed.
  Processed messages are stamped with the `delay` element and appropriate timestamp.
  `static Authorization`
  JabberIqPrivacy.`validateList(XMPPResourceConnection session, List<Element> items)`

- ## Uses of Authorization in tigase.xmpp.impl.push

  Methods in tigase.xmpp.impl.push with parameters of type Authorization
  Modifier and Type
  Method
  Description
  `protected boolean`
  AbstractPushNotifications.`shouldDisablePush(Authorization error)`