Class CustomDomainFilter

java.lang.Object
tigase.vhosts.filter.CustomDomainFilter

public final class CustomDomainFilter extends Object
Author:
Wojtek
  • Method Details

    • isAllowed

      public static boolean isAllowed(tigase.xmpp.jid.JID source, tigase.xmpp.jid.JID destination, String rules)
    • isAllowed

      public static boolean isAllowed(tigase.xmpp.jid.JID source, tigase.xmpp.jid.JID destination, String[] rules)
    • isAllowed

      public static boolean isAllowed(tigase.xmpp.jid.JID source, tigase.xmpp.jid.JID destination, Set<Rule> rules)
    • parseRules

      public static Set<Rule> parseRules(String[] rules) throws ParseException
      Throws:
      ParseException
    • parseRules

      public static Set<Rule> parseRules(String rules) throws ParseException
      Throws:
      ParseException