@Deprecated(since = "5.0.0", forRemoval = true) // Remove in Openfire 5.1 or later.
    public static boolean isOnList(@Nonnull final Set<String> list, @Nonnull final String ipAddress) {
        return IpUtils.isAddressInAnyOf(ipAddress, list);
    }
Checks if a particular IP address is on a list of addresses.

The IP address is expected to be an IPv4 or IPv6 address. The list can contain IPv4 and IPv6 addresses, but also
IPv4 and IP46 address ranges. Ranges can be expressed as dash separated strings (eg: "192.168.0.0-192.168.255.255")
or in CIDR notation (eg: "192.168.0.0/16", "2001:db8::/48").

@param list The list of addresses
@param ipAddress the address to check
@return <tt>true</tt> if the address is detected in the list, otherwise <tt>false</tt>.
@deprecated Replaced by {@link IpUtils#isAddressInAnyOf(String, Set)}
xmppserver/src/main/java/org/jivesoftware/admin/AuthCheckFilter.java