org.apache.james.jspf.policies
Class SPFStrictCheckerRetriever

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

public class SPFStrictCheckerRetriever
extends SPFRetriever

Get the raw dns txt or spf entry which contains a spf entry. If a domain publish both, and both are not equals it throws a PermError


Constructor Summary
SPFStrictCheckerRetriever()
           
 
Method Summary
 DNSLookupContinuation checkSPF(SPFSession spfData)
          Run check for SPF with the given values.
 
Methods inherited from class org.apache.james.jspf.policies.SPFRetriever
extractSPFRecord
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPFStrictCheckerRetriever

public SPFStrictCheckerRetriever()
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
Overrides:
checkSPF in class SPFRetriever
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:
SPFRetriever.checkSPF(org.apache.james.jspf.core.SPFSession)


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