de.malowa.greylister.dnswl
Class NoWhitelist

java.lang.Object
  extended by de.malowa.greylister.dnswl.ExternalWhitelist
      extended by de.malowa.greylister.dnswl.NoWhitelist

public final class NoWhitelist
extends ExternalWhitelist

This concrete implementation of a whitelist always returns false. That means no IP will ever be whitelisted.

Author:
Marcel Lohmann

Constructor Summary
NoWhitelist()
           
 
Method Summary
 boolean isWhitelisted(java.lang.String ip)
          Must be implemented to determine the external whitelisting.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoWhitelist

public NoWhitelist()
Method Detail

isWhitelisted

public boolean isWhitelisted(java.lang.String ip)
Description copied from class: ExternalWhitelist
Must be implemented to determine the external whitelisting.

Specified by:
isWhitelisted in class ExternalWhitelist
Parameters:
ip - IPv4 address
Returns:
always false