Modifier and Type | Method and Description |
---|---|
DNSLookupContinuation |
MacroExpand.checkExpand(String input,
SPFSession session,
boolean isExplanation) |
DNSLookupContinuation |
SPFChecker.checkSPF(SPFSession spfData)
Run check for SPF with the given values.
|
String |
MacroExpand.expand(String input,
MacroData macroData,
boolean isExplanation) |
static IPAddr |
IPAddr.getAddress(String netAddress) |
static IPAddr |
IPAddr.getAddress(String netAddress,
int maskLength)
Get ipAddress for the given String and netmask
|
static String |
IPAddr.getInAddress(String ipAddress)
This method return the InAddress for the given ip.
|
static String |
IPAddr.getProperIpAddress(String ip)
This method convert the given ip to the proper format.
|
void |
SPFSession.increaseCurrentDepth()
Increase the current depth:
if we reach maximum calls we must throw a PermErrorException.
|
DNSLookupContinuation |
SPFCheckerDNSResponseListener.onDNSResponse(DNSResponse response,
SPFSession session)
Continue the check for SPF with the given values and the given DNSResponse
|
void |
SPFCheckerExceptionCatcher.onException(Exception exception,
SPFSession session)
Take some action on the given Exception
|
SPF1Record |
SPFRecordParser.parse(String spfRecord)
This Method parse the given spf record and checks for syntax
parse can be called by multiple concurrent threads.
|
Modifier and Type | Method and Description |
---|---|
DNSLookupContinuation |
SPF.checkSPF(SPFSession spfData) |
Object |
DefaultTermsFactory.createTerm(Class<?> termDef,
Configuration subres) |
Modifier and Type | Method and Description |
---|---|
Object |
TermsFactory.createTerm(Class<?> klass,
Configuration subres)
Create a new term starting from the TermDefinition created by this factory
|
SPF1Record |
RFC4408SPF1Parser.parse(String spfRecord) |
Modifier and Type | Method and Description |
---|---|
DNSLookupContinuation |
SPFStrictCheckerRetriever.checkSPF(SPFSession spfData) |
DNSLookupContinuation |
SPFRetriever.checkSPF(SPFSession spfData) |
DNSLookupContinuation |
InitialChecksPolicy.checkSPF(SPFSession spfData) |
protected static String |
SPFRetriever.extractSPFRecord(List<String> spfR)
Return the extracted SPF-Record
|
SPF1Record |
Policy.getSPFRecord(String currentDomain)
Get a record for the given domain
|
SPF1Record |
NoSPFRecordFoundPolicy.getSPFRecord(String currentDomain,
SPF1Record res) |
SPF1Record |
NeutralIfNotMatchPolicy.getSPFRecord(String currentDomain,
SPF1Record spfRecord) |
SPF1Record |
ParseRecordPolicy.getSPFRecord(String currentDomain,
SPF1Record spfRecord) |
SPF1Record |
PolicyPostFilter.getSPFRecord(String currentDomain,
SPF1Record record)
Filter or replace a record for the given domain
|
Modifier and Type | Method and Description |
---|---|
SPF1Record |
OverridePolicy.getSPFRecord(String currentDomain) |
SPF1Record |
DefaultExplanationPolicy.getSPFRecord(String currentDomain,
SPF1Record spfRecord) |
SPF1Record |
BestGuessPolicy.getSPFRecord(String currentDomain,
SPF1Record record) |
SPF1Record |
FallbackPolicy.getSPFRecord(String currentDomain,
SPF1Record res) |
SPF1Record |
TrustedForwarderPolicy.getSPFRecord(String currentDomain,
SPF1Record spfRecord) |
Modifier and Type | Method and Description |
---|---|
boolean |
AMechanism.checkAddressList(IPAddr checkAddress,
List<String> addressList,
int cidr)
Check if the given ipaddress array contains the provided ip.
|
DNSLookupContinuation |
PTRMechanism.checkSPF(SPFSession spfData) |
DNSLookupContinuation |
MXMechanism.checkSPF(SPFSession spfData) |
DNSLookupContinuation |
IncludeMechanism.checkSPF(SPFSession spfData) |
DNSLookupContinuation |
Directive.checkSPF(SPFSession spfSession)
Run the Directive
|
DNSLookupContinuation |
UnknownModifier.checkSPF(SPFSession spfData) |
DNSLookupContinuation |
AllMechanism.checkSPF(SPFSession spfData) |
DNSLookupContinuation |
IP4Mechanism.checkSPF(SPFSession spfData) |
DNSLookupContinuation |
GenericModifier.checkSPF(SPFSession spfData) |
DNSLookupContinuation |
AMechanism.checkSPF(SPFSession spfData) |
DNSLookupContinuation |
ExistsMechanism.checkSPF(SPFSession spfData) |
protected DNSLookupContinuation |
RedirectModifier.checkSPFLogged(SPFSession spfData)
Set the host which should be used for redirection and set it in SPF1Data
so it can be accessed easy later if needed
|
protected abstract DNSLookupContinuation |
GenericModifier.checkSPFLogged(SPFSession spfData) |
protected DNSLookupContinuation |
ExpModifier.checkSPFLogged(SPFSession spfData)
Generate the explanation and set it in SPF1Data so it can be accessed
easy later if needed
|
void |
GenericMechanism.config(Configuration params) |
void |
IncludeMechanism.config(Configuration params) |
void |
UnknownModifier.config(Configuration params) |
void |
AllMechanism.config(Configuration params) |
void |
IP4Mechanism.config(Configuration params) |
void |
GenericModifier.config(Configuration params) |
void |
AMechanism.config(Configuration params) |
void |
ConfigurationEnabled.config(Configuration params)
Configuration
|
protected String |
GenericMechanism.expandHost(SPFSession spfData)
Expand the hostname
|
DNSLookupContinuation |
PTRMechanism.onDNSResponse(DNSResponse response,
SPFSession spfSession) |
DNSLookupContinuation |
MXMechanism.onDNSResponse(DNSResponse response,
SPFSession spfSession) |
DNSLookupContinuation |
AMechanism.onDNSResponse(DNSResponse response,
SPFSession spfSession) |
DNSLookupContinuation |
ExistsMechanism.onDNSResponse(DNSResponse response,
SPFSession spfSession) |
DNSLookupContinuation |
ExpModifier.onDNSResponse(DNSResponse lookup,
SPFSession spfData) |
Constructor and Description |
---|
Directive(String qualifier,
Mechanism mechanism,
Logger logger)
Construct Directive
|
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.