# Uses of Enum Class
tigase.vhosts.filter.DomainFilterPolicy

Packages that use DomainFilterPolicy
Package
Description
tigase.vhosts
tigase.vhosts.filter
tigase.xmpp.impl
Package containing implementation of all Session Manager plugins

- ## Uses of DomainFilterPolicy in tigase.vhosts

  Fields in tigase.vhosts declared as DomainFilterPolicy
  Modifier and Type
  Field
  Description
  `protected static final DomainFilterPolicy`
  VHostItemImpl.`DOMAIN_FILTER_POLICY_PROP_DEF`
  Methods in tigase.vhosts that return DomainFilterPolicy
  Modifier and Type
  Method
  Description
  `DomainFilterPolicy`
  VHostItem.`getDomainFilter()`
  `DomainFilterPolicy`
  VHostItemDefaults.`getDomainFilter()`
  `DomainFilterPolicy`
  VHostItemImpl.`getDomainFilter()`
  `DomainFilterPolicy`
  VHostItemImpl.VHostItemWrapper.`getDomainFilter()`
  Methods in tigase.vhosts with parameters of type DomainFilterPolicy
  Modifier and Type
  Method
  Description
  `void`
  VHostItemImpl.`setDomainFilter(DomainFilterPolicy domainFilter)`
  This method allow configure DomainFilterPolicy to be applied during packet filtering.

- ## Uses of DomainFilterPolicy in tigase.vhosts.filter

  Methods in tigase.vhosts.filter that return DomainFilterPolicy
  Modifier and Type
  Method
  Description
  `static DomainFilterPolicy`
  DomainFilterPolicy.`valueof(String domainFilteringPolicy)`
  Helper method returning proper defaults in case parsed value doesn't correspond to any of the available modes.
  `static DomainFilterPolicy`
  DomainFilterPolicy.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static DomainFilterPolicy[]`
  DomainFilterPolicy.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

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

  Methods in tigase.xmpp.impl that return DomainFilterPolicy
  Modifier and Type
  Method
  Description
  `DomainFilterPolicy`
  DomainFilter.`getDomains(XMPPResourceConnection session)`
  Method retrieves filtering policy based on user session, from most specific to most general, i.e.: first user session is checked, if that fails then user repository and if there is no rules configured then domain filtering policy from VHost is being returned (if present).