org.apache.james.jspf.policies
Class InitialChecksPolicy

java.lang.Object
  extended by org.apache.james.jspf.policies.InitialChecksPolicy
All Implemented Interfaces:
SPFChecker

public final class InitialChecksPolicy
extends java.lang.Object
implements SPFChecker

Run the checks on the validity of the domain This is an override filter to be executed as the first so it should be added as the last filter.


Constructor Summary
InitialChecksPolicy()
           
 
Method Summary
 DNSLookupContinuation checkSPF(SPFSession spfData)
          Run check for SPF with the given values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitialChecksPolicy

public InitialChecksPolicy()
Method Detail

checkSPF

public DNSLookupContinuation checkSPF(SPFSession spfData)
                               throws PermErrorException,
                                      TempErrorException,
                                      NeutralException,
                                      NoneException
Description copied from interface: SPFChecker
Run check for SPF with the given values.

Specified by:
checkSPF in interface SPFChecker
Parameters:
spfData - The SPF1Data which should be used to run the check
Throws:
PermErrorException - Get thrown if an error was detected
TempErrorException - Get thrown if a DNS problem was detected
NeutralException - Get thrown if the result should be neutral
NoneException - Get thrown if no Record was found
See Also:
SPFChecker.checkSPF(org.apache.james.jspf.core.SPFSession)


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.