org.apache.james.jspf.policies
Class SPFStrictCheckerRetriever
java.lang.Object
org.apache.james.jspf.policies.SPFRetriever
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPFStrictCheckerRetriever
public SPFStrictCheckerRetriever()
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-2011 The Apache Software Foundation. All Rights Reserved.