A B C D E F G H I L M N O P Q R S T U W

A

A - Static variable in class org.apache.james.jspf.core.DNSRequest
The record types for the lookups
AAAA - Static variable in class org.apache.james.jspf.core.DNSRequest
 
addEntry(String, String) - Method in class org.apache.james.jspf.policies.local.FallbackPolicy
Add a entry.
AllMechanism - Class in org.apache.james.jspf.terms
This class represent the all mechanism
AllMechanism() - Constructor for class org.apache.james.jspf.terms.AllMechanism
 
ALPHA_DIGIT_PATTERN - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
 
ALPHA_PATTERN - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
 
AMechanism - Class in org.apache.james.jspf.terms
This class represent the a mechanism
AMechanism() - Constructor for class org.apache.james.jspf.terms.AMechanism
 
ATTRIBUTE_MECHANISM_RESULT - Static variable in class org.apache.james.jspf.terms.Directive
 
ATTRIBUTE_SPF1_RECORD - Static variable in class org.apache.james.jspf.core.SPF1Utils
 

B

BEST_GUESS_RECORD - Static variable in class org.apache.james.jspf.core.SPF1Utils
 
BestGuessPolicy - Class in org.apache.james.jspf.policies.local
PolicyPostFilter which handles best guess.
BestGuessPolicy() - Constructor for class org.apache.james.jspf.policies.local.BestGuessPolicy
 

C

checkAddressList(IPAddr, List, int) - Method in class org.apache.james.jspf.terms.AMechanism
Check if the given ipaddress array contains the provided ip.
checkExpand(String, SPFSession, boolean) - Method in class org.apache.james.jspf.core.MacroExpand
 
checkFQDN(String) - Static method in class org.apache.james.jspf.core.SPF1Utils
Check for valid FQDN
checkSPF(SPFSession) - Method in interface org.apache.james.jspf.core.SPFChecker
Run check for SPF with the given values.
checkSPF(String, String, String) - Method in class org.apache.james.jspf.impl.SPF
Run check for SPF with the given values.
checkSPF(SPFSession) - Method in class org.apache.james.jspf.impl.SPF
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.policies.InitialChecksPolicy
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.policies.SPFRetriever
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.policies.SPFStrictCheckerRetriever
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.terms.AllMechanism
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.terms.AMechanism
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.terms.Directive
Run the Directive
checkSPF(SPFSession) - Method in class org.apache.james.jspf.terms.ExistsMechanism
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.terms.GenericModifier
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.terms.IncludeMechanism
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.terms.IP4Mechanism
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.terms.MXMechanism
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.terms.PTRMechanism
 
checkSPF(SPFSession) - Method in class org.apache.james.jspf.terms.UnknownModifier
 
checkSPFLogged(SPFSession) - Method in class org.apache.james.jspf.terms.ExpModifier
Generate the explanation and set it in SPF1Data so it can be accessed easy later if needed
checkSPFLogged(SPFSession) - Method in class org.apache.james.jspf.terms.GenericModifier
 
checkSPFLogged(SPFSession) - Method in class org.apache.james.jspf.terms.RedirectModifier
Set the host which should be used for redirection and set it in SPF1Data so it can be accessed easy later if needed
clearEntrys() - Method in class org.apache.james.jspf.policies.local.FallbackPolicy
Clear all entries
config(Configuration) - Method in class org.apache.james.jspf.terms.AllMechanism
 
config(Configuration) - Method in class org.apache.james.jspf.terms.AMechanism
 
config(Configuration) - Method in interface org.apache.james.jspf.terms.ConfigurationEnabled
Configuration
config(Configuration) - Method in class org.apache.james.jspf.terms.GenericMechanism
 
config(Configuration) - Method in class org.apache.james.jspf.terms.GenericModifier
 
config(Configuration) - Method in class org.apache.james.jspf.terms.IncludeMechanism
 
config(Configuration) - Method in class org.apache.james.jspf.terms.IP4Mechanism
 
config(Configuration) - Method in class org.apache.james.jspf.terms.UnknownModifier
 
Configuration - Interface in org.apache.james.jspf.terms
 
ConfigurationEnabled - Interface in org.apache.james.jspf.terms
 
convertRecordsToList(Record[]) - Static method in class org.apache.james.jspf.impl.DNSServiceXBillImpl
Convert the given Record array to a List
convertToBytes(String, byte[], int) - Static method in class org.apache.james.jspf.core.Inet6Util
Converts a 4 character hex word into a 2 byte word equivalent
createByteArrayFromIPAddressString(String) - Static method in class org.apache.james.jspf.core.Inet6Util
Creates an byte[] based on an ipAddressString.
createTerm(Class, Configuration) - Method in class org.apache.james.jspf.impl.DefaultTermsFactory
 
createTerm(Class, Configuration) - Method in interface org.apache.james.jspf.parser.TermsFactory
Create a new term starting from the TermDefinition created by this factory

D

debug(String) - Method in interface org.apache.james.jspf.core.Logger
Log a debug message.
debug(String, Throwable) - Method in interface org.apache.james.jspf.core.Logger
Log a debug message.
debug(String) - Method in class org.apache.james.jspf.impl.Log4JLogger
Log a debug message.
debug(String, Throwable) - Method in class org.apache.james.jspf.impl.Log4JLogger
Log a debug message.
DEFAULT_EXPLANATION - Static variable in class org.apache.james.jspf.core.SPF1Utils
 
DefaultExplanationPolicy - Class in org.apache.james.jspf.policies.local
Policy to add a default explanation
DefaultExplanationPolicy(Logger, String, MacroExpand) - Constructor for class org.apache.james.jspf.policies.local.DefaultExplanationPolicy
 
DefaultSPF - Class in org.apache.james.jspf.impl
 
DefaultSPF() - Constructor for class org.apache.james.jspf.impl.DefaultSPF
Uses default Log4JLogger and DNSJava based dns resolver
DefaultSPF(Logger) - Constructor for class org.apache.james.jspf.impl.DefaultSPF
Uses passed logger and DNSJava based dns resolver
DefaultTermDefinition - Class in org.apache.james.jspf.impl
Default implementation for the TermDefinition.
DefaultTermDefinition(Class) - Constructor for class org.apache.james.jspf.impl.DefaultTermDefinition
 
DefaultTermsFactory - Class in org.apache.james.jspf.impl
The default implementation of the TermsFactory
DefaultTermsFactory(Logger) - Constructor for class org.apache.james.jspf.impl.DefaultTermsFactory
 
DefaultTermsFactory(Logger, WiringService) - Constructor for class org.apache.james.jspf.impl.DefaultTermsFactory
 
DELEMITER_REGEX - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
 
Directive - Class in org.apache.james.jspf.terms
A Directive is a mechanism with a resulting qualifier.
Directive(String, Mechanism, Logger) - Constructor for class org.apache.james.jspf.terms.Directive
Construct Directive
DNSAsynchLookupService - Interface in org.apache.james.jspf.executor
Interface which should be used to access all necassary DNS-Records
DNSJnioAsynchService - Class in org.apache.james.jspf.impl
 
DNSJnioAsynchService(ExtendedNonblockingResolver) - Constructor for class org.apache.james.jspf.impl.DNSJnioAsynchService
 
DNSLookupContinuation - Class in org.apache.james.jspf.core
This object is used as the return value for spf resolving tasks.
DNSLookupContinuation(DNSRequest, SPFCheckerDNSResponseListener) - Constructor for class org.apache.james.jspf.core.DNSLookupContinuation
 
DNSRequest - Class in org.apache.james.jspf.core
Represent a DNSRequest
DNSRequest(String, int) - Constructor for class org.apache.james.jspf.core.DNSRequest
 
DNSResponse - Class in org.apache.james.jspf.core
Represent a DNSResponse
DNSResponse(TimeoutException) - Constructor for class org.apache.james.jspf.core.DNSResponse
 
DNSResponse(List) - Constructor for class org.apache.james.jspf.core.DNSResponse
 
DNSService - Interface in org.apache.james.jspf.core
Interface which should be used to access all necassary DNS-Records
DNSServiceAsynchSimulator - Class in org.apache.james.jspf.impl
Wrap a DNSService an execute the calls asynch in a new Thread
DNSServiceAsynchSimulator(DNSService, boolean) - Constructor for class org.apache.james.jspf.impl.DNSServiceAsynchSimulator
 
DNSServiceEnabled - Interface in org.apache.james.jspf.core
Components that need to log can implement this interface so that the container will provide the DNSService
DNSServiceXBillImpl - Class in org.apache.james.jspf.impl
This class contains helper to get all neccassary DNS infos that are needed for SPF
DNSServiceXBillImpl(Logger) - Constructor for class org.apache.james.jspf.impl.DNSServiceXBillImpl
Default Constructor.
DNSServiceXBillImpl(Logger, Resolver) - Constructor for class org.apache.james.jspf.impl.DNSServiceXBillImpl
Constructor to specify a custom resolver.
DOMAIN - Static variable in class org.apache.james.jspf.core.MacroExpand
 
DOMAIN_END_REGEX - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
ABNF: domain-end = ( "." toplabel [ "." ] ) / macro-expand
DOMAIN_SPEC_REGEX - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
ABNF: domain-spec = macro-string domain-end
DOMAIN_SPEC_REGEX_R - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
Spring MACRO_STRING from DOMAIN_END (domain end starts with .)
DUAL_CIDR_LENGTH_REGEX - Static variable in class org.apache.james.jspf.terms.GenericMechanism
ABNF: dual-cidr-length = [ ip4-cidr-length ] [ "/" ip6-cidr-length ]

E

enableDNSService(DNSService) - Method in interface org.apache.james.jspf.core.DNSServiceEnabled
Provide component with a DNSService.
enableDNSService(DNSService) - Method in class org.apache.james.jspf.terms.PTRMechanism
 
enableLogging(Logger) - Method in interface org.apache.james.jspf.core.LogEnabled
Provide component with a logger.
enableLogging(Logger) - Method in class org.apache.james.jspf.terms.GenericMechanism
 
enableLogging(Logger) - Method in class org.apache.james.jspf.terms.GenericModifier
 
enableLogging(Logger) - Method in class org.apache.james.jspf.terms.IncludeMechanism
 
enableMacroExpand(MacroExpand) - Method in interface org.apache.james.jspf.core.MacroExpandEnabled
Provide component with a DNSService.
enableMacroExpand(MacroExpand) - Method in class org.apache.james.jspf.terms.ExpModifier
 
enableMacroExpand(MacroExpand) - Method in class org.apache.james.jspf.terms.GenericMechanism
 
enableMacroExpand(MacroExpand) - Method in class org.apache.james.jspf.terms.IncludeMechanism
 
enableMacroExpand(MacroExpand) - Method in class org.apache.james.jspf.terms.RedirectModifier
 
enableSPFChecking(SPFChecker) - Method in interface org.apache.james.jspf.core.SPFCheckEnabled
Provide component with an SPF Checker.
enableSPFChecking(SPFChecker) - Method in class org.apache.james.jspf.terms.IncludeMechanism
 
enableSPFChecking(SPFChecker) - Method in class org.apache.james.jspf.terms.RedirectModifier
 
enforceSingleInstance() - Method in class org.apache.james.jspf.terms.GenericModifier
 
enforceSingleInstance() - Method in interface org.apache.james.jspf.terms.Modifier
Return true if the Modifier is only allowed once
enforceSingleInstance() - Method in class org.apache.james.jspf.terms.UnknownModifier
 
error(String) - Method in interface org.apache.james.jspf.core.Logger
Log a error message.
error(String, Throwable) - Method in interface org.apache.james.jspf.core.Logger
Log a error message.
error(String) - Method in class org.apache.james.jspf.impl.Log4JLogger
Log a error message.
error(String, Throwable) - Method in class org.apache.james.jspf.impl.Log4JLogger
Log a error message.
execute(SPFSession, FutureSPFResult) - Method in interface org.apache.james.jspf.executor.SPFExecutor
Execute SPF queries
execute(SPFSession, FutureSPFResult) - Method in class org.apache.james.jspf.executor.StagedMultipleSPFExecutor
Execute the non-blocking part of the processing and returns.
execute(SPFSession, FutureSPFResult, boolean) - Method in class org.apache.james.jspf.executor.StagedMultipleSPFExecutor
 
execute(SPFSession, FutureSPFResult) - Method in class org.apache.james.jspf.executor.SynchronousSPFExecutor
 
ExistsMechanism - Class in org.apache.james.jspf.terms
This class represent the exists mechanism
ExistsMechanism() - Constructor for class org.apache.james.jspf.terms.ExistsMechanism
 
expand(String, MacroData, boolean) - Method in class org.apache.james.jspf.core.MacroExpand
 
expandHost(SPFSession) - Method in class org.apache.james.jspf.terms.GenericMechanism
Expand the hostname
EXPLANATION - Static variable in class org.apache.james.jspf.core.MacroExpand
 
explanation - Variable in class org.apache.james.jspf.executor.SPFResult
 
ExpModifier - Class in org.apache.james.jspf.terms
This class represent the exp modifier
ExpModifier() - Constructor for class org.apache.james.jspf.terms.ExpModifier
 
extractSPFRecord(List) - Static method in class org.apache.james.jspf.policies.SPFRetriever
Return the extracted SPF-Record

F

FAIL - Static variable in interface org.apache.james.jspf.core.SPF1Constants
Qualifier for FAIL
FAIL_CONV - Static variable in interface org.apache.james.jspf.core.exceptions.SPFErrorConstants
 
FallbackPolicy - Class in org.apache.james.jspf.policies.local
Class to support Fallback feature
FallbackPolicy(Logger, SPFRecordParser) - Constructor for class org.apache.james.jspf.policies.local.FallbackPolicy
 
fatalError(String) - Method in interface org.apache.james.jspf.core.Logger
Log a fatalError message.
fatalError(String, Throwable) - Method in interface org.apache.james.jspf.core.Logger
Log a fatalError message.
fatalError(String) - Method in class org.apache.james.jspf.impl.Log4JLogger
Log a fatalError message.
fatalError(String, Throwable) - Method in class org.apache.james.jspf.impl.Log4JLogger
Log a fatalError message.
FutureSPFResult - Class in org.apache.james.jspf.executor
A Blocking version of SPFResult which block until the SPFResult is fully set
FutureSPFResult() - Constructor for class org.apache.james.jspf.executor.FutureSPFResult
 

G

GenericMechanism - Class in org.apache.james.jspf.terms
This abstract class represent a gerneric mechanism
GenericMechanism() - Constructor for class org.apache.james.jspf.terms.GenericMechanism
 
GenericModifier - Class in org.apache.james.jspf.terms
This abstract class represent a gerneric modifier
GenericModifier() - Constructor for class org.apache.james.jspf.terms.GenericModifier
 
getAAAARecords(String) - Method in class org.apache.james.jspf.terms.AMechanism
Retrieve a list of AAAA records
getAddress(String, int) - Static method in class org.apache.james.jspf.core.IPAddr
Get ipAddress for the given String and netmask
getAddress(String) - Static method in class org.apache.james.jspf.core.IPAddr
 
getARecords(String) - Method in class org.apache.james.jspf.terms.AMechanism
Get a list of IPAddr's for a server
getAttribute(String) - Method in class org.apache.james.jspf.core.SPFSession
Retrieve a stored attribute
getChildLogger(String) - Method in interface org.apache.james.jspf.core.Logger
Create a new child logger.
getChildLogger(String) - Method in class org.apache.james.jspf.impl.Log4JLogger
Create a new child logger.
getClientDomain() - Method in interface org.apache.james.jspf.core.MacroData
Get clientDomain (p)
getClientDomain() - Method in class org.apache.james.jspf.core.SPFSession
 
getCurrentDomain() - Method in interface org.apache.james.jspf.core.MacroData
Get current-domain (d)
getCurrentDomain() - Method in class org.apache.james.jspf.core.SPFSession
 
getCurrentResult() - Method in class org.apache.james.jspf.core.SPFSession
Get the current result
getCurrentResultExpanded() - Method in class org.apache.james.jspf.core.SPFSession
 
getCurrentSenderPart() - Method in interface org.apache.james.jspf.core.MacroData
Get current-senderpart (l)
getCurrentSenderPart() - Method in class org.apache.james.jspf.core.SPFSession
 
getDirectives() - Method in class org.apache.james.jspf.core.SPF1Record
Return the directives as Collection
getDomain() - Method in class org.apache.james.jspf.terms.GenericMechanism
 
getException() - Method in interface org.apache.james.jspf.executor.IResponse
Return the exception which was stored for the IResponse object
getException() - Method in class org.apache.james.jspf.executor.IResponseImpl
 
getExplanation() - Method in class org.apache.james.jspf.core.SPFSession
Get the explanation
getExplanation() - Method in class org.apache.james.jspf.executor.FutureSPFResult
 
getExplanation() - Method in class org.apache.james.jspf.executor.SPFResult
Get the explanation string If no explanation exists return the empty string
getFallbackPolicy() - Method in class org.apache.james.jspf.impl.SPF
Return the FallbackPolicy object which can be used to provide default spfRecords for hosts which have no records
getHeader() - Method in class org.apache.james.jspf.executor.FutureSPFResult
 
getHeader() - Method in class org.apache.james.jspf.executor.SPFResult
Get the full SPF-Header (headername and headertext)
getHeaderName() - Method in class org.apache.james.jspf.executor.FutureSPFResult
 
getHeaderName() - Method in class org.apache.james.jspf.executor.SPFResult
Get the SPF-Headername
getHeaderText() - Method in class org.apache.james.jspf.executor.FutureSPFResult
 
getHeaderText() - Method in class org.apache.james.jspf.executor.SPFResult
Get SPF-Headertext
getHost() - Method in class org.apache.james.jspf.terms.GenericModifier
 
getHost() - Method in class org.apache.james.jspf.terms.IncludeMechanism
 
getHostname() - Method in class org.apache.james.jspf.core.DNSRequest
Return the hostname to process the request for
getHostName() - Method in interface org.apache.james.jspf.core.MacroData
Get sender-domain (h)
getHostName() - Method in class org.apache.james.jspf.core.SPFSession
 
getId() - Method in interface org.apache.james.jspf.executor.IResponse
Get id of the IResponse object
getId() - Method in class org.apache.james.jspf.executor.IResponseImpl
 
getInAddress(String) - Static method in class org.apache.james.jspf.core.IPAddr
This method return the InAddress for the given ip.
getInAddress() - Method in interface org.apache.james.jspf.core.MacroData
Get inAddress (v)
getInAddress() - Method in class org.apache.james.jspf.core.SPFSession
 
getIp() - Method in class org.apache.james.jspf.terms.IP4Mechanism
 
getIp4cidr() - Method in class org.apache.james.jspf.terms.AMechanism
 
getIp6cidr() - Method in class org.apache.james.jspf.terms.AMechanism
 
getIPAddress() - Method in class org.apache.james.jspf.core.IPAddr
 
getIpAddress() - Method in class org.apache.james.jspf.core.SPFSession
Get the ipAddress which was used to connect
getListener() - Method in class org.apache.james.jspf.core.DNSLookupContinuation
Return the SPFCheckerDNSResponseListener which should called for the DNSRequest
getLocalDomainNames() - Method in interface org.apache.james.jspf.core.DNSService
Try to get all domain names for the running host
getLocalDomainNames() - Method in class org.apache.james.jspf.impl.DNSServiceXBillImpl
 
getMacroIpAddress() - Method in interface org.apache.james.jspf.core.MacroData
Get sending-host (i)
getMacroIpAddress() - Method in class org.apache.james.jspf.core.SPFSession
 
getMailFrom() - Method in interface org.apache.james.jspf.core.MacroData
Get responsible-sender (s)
getMailFrom() - Method in class org.apache.james.jspf.core.SPFSession
 
getMaskedIPAddress() - Method in class org.apache.james.jspf.core.IPAddr
 
getMaskLength() - Method in class org.apache.james.jspf.core.IPAddr
Get mask length
getMatchSize() - Method in class org.apache.james.jspf.impl.DefaultTermDefinition
 
getMatchSize() - Method in interface org.apache.james.jspf.parser.TermDefinition
Return the number of groups to be expected from the pattern of this Term.
getMaxCidr() - Method in class org.apache.james.jspf.terms.IP4Mechanism
Returns the max cidr for ip4
getMaxCidr() - Method in class org.apache.james.jspf.terms.IP6Mechanism
 
getMechanism() - Method in class org.apache.james.jspf.terms.Directive
Return the Mechanism which should be run
getMechanismsCollection() - Method in class org.apache.james.jspf.impl.DefaultTermsFactory
 
getMechanismsCollection() - Method in interface org.apache.james.jspf.parser.TermsFactory
Return the collection of known Mechanisms
getModifiers() - Method in class org.apache.james.jspf.core.SPF1Record
Return the modifiers as Collection
getModifiersCollection() - Method in class org.apache.james.jspf.impl.DefaultTermsFactory
 
getModifiersCollection() - Method in interface org.apache.james.jspf.parser.TermsFactory
Return the collection of known Modifiers
getMySPFRecord(String) - Method in class org.apache.james.jspf.policies.local.FallbackPolicy
Return the SPF1Record for the given host
getNibbleFormat() - Method in class org.apache.james.jspf.core.IPAddr
Return the NibbleFormat of the IPAddr
getOverridePolicy() - Method in class org.apache.james.jspf.impl.SPF
Return the OverridePolicy object which can be used to override spfRecords for hosts
getPattern() - Method in class org.apache.james.jspf.impl.DefaultTermDefinition
 
getPattern() - Method in interface org.apache.james.jspf.parser.TermDefinition
Retrieve the pattern to be used to match a string against this record type.
getPolicies() - Method in class org.apache.james.jspf.impl.SPF
Return a default policy for SPF
getProperIpAddress(String) - Static method in class org.apache.james.jspf.core.IPAddr
This method convert the given ip to the proper format.
getQualifier() - Method in class org.apache.james.jspf.terms.Directive
Return the Qualifier
getReadableIP(String) - Static method in class org.apache.james.jspf.core.IPAddr
This method try to covnert an ip address to an easy readable ip.
getReadableIP() - Method in interface org.apache.james.jspf.core.MacroData
Get readableIP (c)
getReadableIP() - Method in class org.apache.james.jspf.core.SPFSession
 
getReceivingDomain() - Method in interface org.apache.james.jspf.core.MacroData
Get receivingDomain (r)
getReceivingDomain() - Method in class org.apache.james.jspf.core.SPFSession
 
getRecord() - Method in class org.apache.james.jspf.core.SPF1Record
 
getRecordLimit() - Method in interface org.apache.james.jspf.core.DNSService
 
getRecordLimit() - Method in class org.apache.james.jspf.impl.DNSServiceXBillImpl
 
getRecords(DNSRequest) - Method in interface org.apache.james.jspf.core.DNSService
Retrieve dns records for the given host
getRecords(DNSRequest) - Method in class org.apache.james.jspf.impl.DNSServiceXBillImpl
 
getRecordsAsynch(DNSRequest, int, IResponseQueue) - Method in interface org.apache.james.jspf.executor.DNSAsynchLookupService
Retrieve dns records for the given host asynchronously
getRecordsAsynch(DNSRequest, int, IResponseQueue) - Method in class org.apache.james.jspf.impl.DNSJnioAsynchService
 
getRecordsAsynch(DNSRequest, int, IResponseQueue) - Method in class org.apache.james.jspf.impl.DNSServiceAsynchSimulator
 
getRecordType() - Method in class org.apache.james.jspf.core.DNSRequest
Return the RecordType which is use for this request
getRequest() - Method in class org.apache.james.jspf.core.DNSLookupContinuation
Return the DNSRequest which was used
getResponse() - Method in class org.apache.james.jspf.core.DNSResponse
Returns the DNS response
getResult() - Method in exception org.apache.james.jspf.core.exceptions.NeutralException
 
getResult() - Method in exception org.apache.james.jspf.core.exceptions.NoneException
 
getResult() - Method in exception org.apache.james.jspf.core.exceptions.PermErrorException
 
getResult() - Method in exception org.apache.james.jspf.core.exceptions.SPFResultException
The result for this exception
getResult() - Method in exception org.apache.james.jspf.core.exceptions.TempErrorException
 
getResult() - Method in class org.apache.james.jspf.executor.FutureSPFResult
 
getResult() - Method in class org.apache.james.jspf.executor.SPFResult
Get the result string
getReverseIP() - Method in class org.apache.james.jspf.core.IPAddr
Get reverse ipAddress
getSenderDomain() - Method in interface org.apache.james.jspf.core.MacroData
Get senderDomain (o)
getSenderDomain() - Method in class org.apache.james.jspf.core.SPFSession
 
getSPFRecord(String, SPF1Record) - Method in class org.apache.james.jspf.policies.local.BestGuessPolicy
 
getSPFRecord(String, SPF1Record) - Method in class org.apache.james.jspf.policies.local.DefaultExplanationPolicy
 
getSPFRecord(String, SPF1Record) - Method in class org.apache.james.jspf.policies.local.FallbackPolicy
 
getSPFRecord(String) - Method in class org.apache.james.jspf.policies.local.OverridePolicy
 
getSPFRecord(String, SPF1Record) - Method in class org.apache.james.jspf.policies.local.TrustedForwarderPolicy
 
getSPFRecord(String, SPF1Record) - Method in class org.apache.james.jspf.policies.NeutralIfNotMatchPolicy
 
getSPFRecord(String, SPF1Record) - Method in class org.apache.james.jspf.policies.NoSPFRecordFoundPolicy
 
getSPFRecord(String, SPF1Record) - Method in class org.apache.james.jspf.policies.ParseRecordPolicy
 
getSPFRecord(String) - Method in interface org.apache.james.jspf.policies.Policy
Get a record for the given domain
getSPFRecord(String, SPF1Record) - Method in interface org.apache.james.jspf.policies.PolicyPostFilter
Filter or replace a record for the given domain
getTermDef() - Method in class org.apache.james.jspf.impl.DefaultTermDefinition
 
getTermDef() - Method in interface org.apache.james.jspf.parser.TermDefinition
The class implementing this Term type.
getTimeStamp() - Method in interface org.apache.james.jspf.core.MacroData
Get timeStamp (t)
getTimeStamp() - Method in class org.apache.james.jspf.core.SPFSession
 
getValue() - Method in interface org.apache.james.jspf.executor.IResponse
Get the value which is stored in the IResponse object
getValue() - Method in class org.apache.james.jspf.executor.IResponseImpl
 
group(int) - Method in class org.apache.james.jspf.parser.MatcherBasedConfiguration
 
group(int) - Method in interface org.apache.james.jspf.terms.Configuration
 
groupCount() - Method in class org.apache.james.jspf.parser.MatcherBasedConfiguration
 
groupCount() - Method in interface org.apache.james.jspf.terms.Configuration
 

H

HEADER_NAME - Static variable in class org.apache.james.jspf.executor.SPFResult
 
headerTextAsString - Variable in class org.apache.james.jspf.executor.SPFResult
 
host - Variable in class org.apache.james.jspf.terms.IncludeMechanism
 

I

ignoreExplanation() - Method in class org.apache.james.jspf.core.SPFSession
Return true if the explanation should be ignored
IncludeMechanism - Class in org.apache.james.jspf.terms
This class represent the incude mechanism
IncludeMechanism() - Constructor for class org.apache.james.jspf.terms.IncludeMechanism
 
increaseCurrentDepth() - Method in class org.apache.james.jspf.core.SPFSession
Increase the current depth: if we reach maximum calls we must throw a PermErrorException.
Inet6Util - Class in org.apache.james.jspf.core
Utility functions for IPV6 operations.
info(String) - Method in interface org.apache.james.jspf.core.Logger
Log a info message.
info(String, Throwable) - Method in interface org.apache.james.jspf.core.Logger
Log a info message.
info(String) - Method in class org.apache.james.jspf.impl.Log4JLogger
Log a info message.
info(String, Throwable) - Method in class org.apache.james.jspf.impl.Log4JLogger
Log a info message.
InitialChecksPolicy - Class in org.apache.james.jspf.policies
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.
InitialChecksPolicy() - Constructor for class org.apache.james.jspf.policies.InitialChecksPolicy
 
insertResponse(IResponse) - Method in interface org.apache.james.jspf.executor.IResponseQueue
Add the given Response to the end of the queue.
IP4_CIDR_LENGTH_REGEX - Static variable in class org.apache.james.jspf.terms.GenericMechanism
ABNF: ip4-cidr-length = "/" 1*DIGIT
IP4Mechanism - Class in org.apache.james.jspf.terms
This class represent the ip4 mechanism
IP4Mechanism() - Constructor for class org.apache.james.jspf.terms.IP4Mechanism
 
IP6_CIDR_LENGTH_REGEX - Static variable in class org.apache.james.jspf.terms.GenericMechanism
ABNF: ip6-cidr-length = "/" 1*DIGIT
IP6Mechanism - Class in org.apache.james.jspf.terms
This class represent the ip6 mechanism
IP6Mechanism() - Constructor for class org.apache.james.jspf.terms.IP6Mechanism
 
IPAddr - Class in org.apache.james.jspf.core
 
IResponse - Interface in org.apache.james.jspf.executor
 
IResponseImpl - Class in org.apache.james.jspf.executor
Implementation of an IRespone Object
IResponseImpl(Object, Exception) - Constructor for class org.apache.james.jspf.executor.IResponseImpl
 
IResponseImpl(Object, List) - Constructor for class org.apache.james.jspf.executor.IResponseImpl
 
IResponseQueue - Interface in org.apache.james.jspf.executor
Queue implementation which is used to manage IResponse
isDebugEnabled() - Method in interface org.apache.james.jspf.core.Logger
Determine if messages of priority "debug" will be logged.
isDebugEnabled() - Method in class org.apache.james.jspf.impl.Log4JLogger
Determine if messages of priority "debug" will be logged.
isErrorEnabled() - Method in interface org.apache.james.jspf.core.Logger
Determine if messages of priority "error" will be logged.
isErrorEnabled() - Method in class org.apache.james.jspf.impl.Log4JLogger
Determine if messages of priority "error" will be logged.
isFatalErrorEnabled() - Method in interface org.apache.james.jspf.core.Logger
Determine if messages of priority "fatalError" will be logged.
isFatalErrorEnabled() - Method in class org.apache.james.jspf.impl.Log4JLogger
Determine if messages of priority "fatalError" will be logged.
isInfoEnabled() - Method in interface org.apache.james.jspf.core.Logger
Determine if messages of priority "info" will be logged.
isInfoEnabled() - Method in class org.apache.james.jspf.impl.Log4JLogger
Determine if messages of priority "info" will be logged.
isIPAddr(String) - Static method in class org.apache.james.jspf.core.IPAddr
Check if a the Object is instance of this class
isIPV6(String) - Static method in class org.apache.james.jspf.core.IPAddr
Return if the given ipAddress is ipv6
isReady() - Method in class org.apache.james.jspf.executor.FutureSPFResult
Return true if the result was fully builded
isValidAddress(String) - Method in class org.apache.james.jspf.terms.IP4Mechanism
 
isValidAddress(String) - Method in class org.apache.james.jspf.terms.IP6Mechanism
 
isValidIP(String) - Static method in class org.apache.james.jspf.core.IPAddr
Check if the given IP is valid.
isValidIP4Word(String) - Static method in class org.apache.james.jspf.core.Inet6Util
 
isValidIP6Address(String) - Static method in class org.apache.james.jspf.core.Inet6Util
 
isValidIPV4Address(String) - Static method in class org.apache.james.jspf.core.Inet6Util
Takes a string and parses it to see if it is a valid IPV4 address.
isWarnEnabled() - Method in interface org.apache.james.jspf.core.Logger
Determine if messages of priority "warn" will be logged.
isWarnEnabled() - Method in class org.apache.james.jspf.impl.Log4JLogger
Determine if messages of priority "warn" will be logged.
iterator() - Method in class org.apache.james.jspf.core.SPF1Record
Return a single iterator over Directives and Modifiers

L

log - Variable in class org.apache.james.jspf.impl.DNSServiceXBillImpl
 
log - Variable in class org.apache.james.jspf.terms.GenericMechanism
 
log - Variable in class org.apache.james.jspf.terms.GenericModifier
 
log - Variable in class org.apache.james.jspf.terms.IncludeMechanism
 
Log4JLogger - Class in org.apache.james.jspf.impl
Implementation of the Logger interface using the Log4J implementation strategy.
Log4JLogger(Logger) - Constructor for class org.apache.james.jspf.impl.Log4JLogger
 
LogEnabled - Interface in org.apache.james.jspf.core
Components that need to log can implement this interface to be provided Loggers.
Logger - Interface in org.apache.james.jspf.core
This is a facade for the different logging subsystems.

M

MACRO_EXPAND_REGEX - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
 
MACRO_LETTER_PATTERN - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
 
MACRO_LETTER_PATTERN_EXP - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
 
MACRO_LETTERS_REGEX - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
 
MACRO_LITERAL_REGEX - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
 
MACRO_STRING_REGEX - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
ABNF: macro-string = *( macro-expand / macro-literal )
MACRO_STRING_REGEX_TOKEN - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
This is used by the MacroExpander
MacroData - Interface in org.apache.james.jspf.core
This interface represent all the macros which can be used in SPF-Records.
MacroExpand - Class in org.apache.james.jspf.core
 
MacroExpand(Logger, DNSService) - Constructor for class org.apache.james.jspf.core.MacroExpand
Construct MacroExpand
macroExpand - Variable in class org.apache.james.jspf.terms.GenericMechanism
 
MacroExpand.RequireClientDomainException - Exception in org.apache.james.jspf.core
 
MacroExpand.RequireClientDomainException() - Constructor for exception org.apache.james.jspf.core.MacroExpand.RequireClientDomainException
 
MacroExpandEnabled - Interface in org.apache.james.jspf.core
Components that need to log can implement this interface so that the container will provide the DNSService
main(String[]) - Static method in class org.apache.james.jspf.impl.SPFQuery
 
MatcherBasedConfiguration - Class in org.apache.james.jspf.parser
Provides a MatchResult view of a subset of another MatchResult
MatcherBasedConfiguration(Matcher, int, int) - Constructor for class org.apache.james.jspf.parser.MatcherBasedConfiguration
 
MAX_DEPTH - Static variable in class org.apache.james.jspf.core.SPFSession
The maximum mechanismn which are allowed to use
Mechanism - Interface in org.apache.james.jspf.terms
This Interface represent a mechanismn
Modifier - Interface in org.apache.james.jspf.terms
This Interface represent a modifier
MX - Static variable in class org.apache.james.jspf.core.DNSRequest
 
MXMechanism - Class in org.apache.james.jspf.terms
This class represent the mx mechanism
MXMechanism() - Constructor for class org.apache.james.jspf.terms.MXMechanism
 

N

NEUTRAL - Static variable in interface org.apache.james.jspf.core.SPF1Constants
Qualifier for NEUTRAL
NEUTRAL_CONV - Static variable in interface org.apache.james.jspf.core.exceptions.SPFErrorConstants
 
NeutralException - Exception in org.apache.james.jspf.core.exceptions
This exception get thrown if the result should be neutral
NeutralException(String) - Constructor for exception org.apache.james.jspf.core.exceptions.NeutralException
 
NeutralIfNotMatchPolicy - Class in org.apache.james.jspf.policies
Sets the result to NEUTRAL if no directive is found
NeutralIfNotMatchPolicy() - Constructor for class org.apache.james.jspf.policies.NeutralIfNotMatchPolicy
 
NONE_CONV - Static variable in interface org.apache.james.jspf.core.exceptions.SPFErrorConstants
 
NoneException - Exception in org.apache.james.jspf.core.exceptions
This exception get thrown if the result should be none
NoneException(String) - Constructor for exception org.apache.james.jspf.core.exceptions.NoneException
 
NoSPFRecordFoundPolicy - Class in org.apache.james.jspf.policies
Throws a NoneException if no record has been found
NoSPFRecordFoundPolicy() - Constructor for class org.apache.james.jspf.policies.NoSPFRecordFoundPolicy
 

O

onDNSResponse(DNSResponse, SPFSession) - Method in interface org.apache.james.jspf.core.SPFCheckerDNSResponseListener
Continue the check for SPF with the given values and the given DNSResponse
onDNSResponse(DNSResponse, SPFSession) - Method in class org.apache.james.jspf.terms.AMechanism
 
onDNSResponse(DNSResponse, SPFSession) - Method in class org.apache.james.jspf.terms.ExistsMechanism
 
onDNSResponse(DNSResponse, SPFSession) - Method in class org.apache.james.jspf.terms.ExpModifier
 
onDNSResponse(DNSResponse, SPFSession) - Method in class org.apache.james.jspf.terms.MXMechanism
 
onDNSResponse(DNSResponse, SPFSession) - Method in class org.apache.james.jspf.terms.PTRMechanism
 
onException(Exception, SPFSession) - Method in interface org.apache.james.jspf.core.SPFCheckerExceptionCatcher
Take some action on the given Exception
org.apache.james.jspf.core - package org.apache.james.jspf.core
 
org.apache.james.jspf.core.exceptions - package org.apache.james.jspf.core.exceptions
 
org.apache.james.jspf.executor - package org.apache.james.jspf.executor
 
org.apache.james.jspf.impl - package org.apache.james.jspf.impl
 
org.apache.james.jspf.parser - package org.apache.james.jspf.parser
 
org.apache.james.jspf.policies - package org.apache.james.jspf.policies
 
org.apache.james.jspf.policies.local - package org.apache.james.jspf.policies.local
 
org.apache.james.jspf.terms - package org.apache.james.jspf.terms
 
org.apache.james.jspf.wiring - package org.apache.james.jspf.wiring
 
OverridePolicy - Class in org.apache.james.jspf.policies.local
 
OverridePolicy(Logger, SPFRecordParser) - Constructor for class org.apache.james.jspf.policies.local.OverridePolicy
 

P

parse(String) - Method in interface org.apache.james.jspf.core.SPFRecordParser
This Method parse the given spf record and checks for syntax parse can be called by multiple concurrent threads.
parse(String) - Method in class org.apache.james.jspf.parser.RFC4408SPF1Parser
 
ParseRecordPolicy - Class in org.apache.james.jspf.policies
Parse the record
ParseRecordPolicy(SPFRecordParser) - Constructor for class org.apache.james.jspf.policies.ParseRecordPolicy
 
PASS - Static variable in interface org.apache.james.jspf.core.SPF1Constants
Qualifier for PASS
PASS_CONV - Static variable in interface org.apache.james.jspf.core.exceptions.SPFErrorConstants
 
PERM_ERROR_CONV - Static variable in interface org.apache.james.jspf.core.exceptions.SPFErrorConstants
 
PermErrorException - Exception in org.apache.james.jspf.core.exceptions
This exception get thrown if the result should be PermError
PermErrorException(String) - Constructor for exception org.apache.james.jspf.core.exceptions.PermErrorException
 
Policy - Interface in org.apache.james.jspf.policies
Return an spf record from a given domain.
PolicyPostFilter - Interface in org.apache.james.jspf.policies
Return an spf record from a given domain.
popChecker() - Method in class org.apache.james.jspf.core.SPFSession
Remove the SPFChecker on the top and return it.
PTR - Static variable in class org.apache.james.jspf.core.DNSRequest
 
PTRMechanism - Class in org.apache.james.jspf.terms
This class represent the ptr mechanism
PTRMechanism() - Constructor for class org.apache.james.jspf.terms.PTRMechanism
 
pushChecker(SPFChecker) - Method in class org.apache.james.jspf.core.SPFSession
Add the given SPFChecker on top of the stack

Q

qualifier - Variable in class org.apache.james.jspf.terms.Directive
 

R

recordLimit - Variable in class org.apache.james.jspf.impl.DNSServiceXBillImpl
 
RedirectModifier - Class in org.apache.james.jspf.terms
This class represent the redirect modifier
RedirectModifier() - Constructor for class org.apache.james.jspf.terms.RedirectModifier
 
REGEX - Static variable in class org.apache.james.jspf.terms.AllMechanism
 
REGEX - Static variable in class org.apache.james.jspf.terms.AMechanism
ABNF: A = "a" [ ":" domain-spec ] [ dual-cidr-length ]
REGEX - Static variable in class org.apache.james.jspf.terms.ExistsMechanism
ABNF: exists = "exists" ":" domain-spec
REGEX - Static variable in class org.apache.james.jspf.terms.ExpModifier
ABNF: explanation = "exp" "=" domain-spec NOTE: the last +"?"
REGEX - Static variable in class org.apache.james.jspf.terms.IncludeMechanism
ABNF: include = "include" ":" domain-spec
REGEX - Static variable in class org.apache.james.jspf.terms.IP4Mechanism
ABNF: IP4 = "ip4" ":" ip4-network [ ip4-cidr-length ]
REGEX - Static variable in class org.apache.james.jspf.terms.IP6Mechanism
ABNF: IP6 = "ip6" ":" ip6-network [ ip6-cidr-length ]
REGEX - Static variable in class org.apache.james.jspf.terms.MXMechanism
ABNF: MX = "mx" [ ":" domain-spec ] [ dual-cidr-length ]
REGEX - Static variable in class org.apache.james.jspf.terms.PTRMechanism
ABNF: PTR = "ptr" [ ":" domain-spec ]
REGEX - Static variable in class org.apache.james.jspf.terms.RedirectModifier
ABNF: redirect = "redirect" "=" domain-spec
REGEX - Static variable in class org.apache.james.jspf.terms.UnknownModifier
ABNF: name = ALPHA *( ALPHA / DIGIT / "-" / "_" / "." ) ABNF: unknown-modifier = name "=" macro-string
removeAttribute(String) - Method in class org.apache.james.jspf.core.SPFSession
Remove the attribute stored under the given key
removeEntry(String) - Method in class org.apache.james.jspf.policies.local.FallbackPolicy
Remove entry
removeResponse() - Method in interface org.apache.james.jspf.executor.IResponseQueue
Return the last IResponse in the queue.
resolver - Variable in class org.apache.james.jspf.impl.DNSServiceXBillImpl
 
result - Variable in class org.apache.james.jspf.executor.SPFResult
 
resultToName(String) - Static method in class org.apache.james.jspf.core.SPF1Utils
Convert raw SPF results to SPF names
RFC4408SPF1Parser - Class in org.apache.james.jspf.parser
This class is used to parse SPF1-Records from their textual form to an SPF1Record object that is composed by 2 collections: directives and modifiers.
RFC4408SPF1Parser(Logger, TermsFactory) - Constructor for class org.apache.james.jspf.parser.RFC4408SPF1Parser
Constructor.
run() - Method in class org.apache.james.jspf.executor.StagedMultipleSPFExecutor
 
run() - Method in class org.apache.james.jspf.impl.DNSServiceAsynchSimulator
Run the async dns call in a new thread

S

setAttribute(String, Object) - Method in class org.apache.james.jspf.core.SPFSession
Sets a new attribute in the session
setClientDomain(String) - Method in class org.apache.james.jspf.core.SPFSession
Sets the calculated clientDomain
setCurrentDomain(String) - Method in class org.apache.james.jspf.core.SPFSession
Set the currentDomain
setCurrentResult(String) - Method in class org.apache.james.jspf.core.SPFSession
Set the current result
setCurrentResultExpanded(String) - Method in class org.apache.james.jspf.core.SPFSession
 
setDefaultExplanation(String) - Method in class org.apache.james.jspf.impl.SPF
Set the default explanation which will be used if no explanation is found in the SPF Record
setExplanation(String) - Method in class org.apache.james.jspf.core.SPFSession
Set the explanation which will returned when a fail match
setIgnoreExplanation(boolean) - Method in class org.apache.james.jspf.core.SPFSession
Get set to true if the explanation should be ignored
setMask(int) - Method in class org.apache.james.jspf.core.IPAddr
create series of 16 bit masks for each ip block
setReceivingDomain(String) - Method in class org.apache.james.jspf.core.SPFSession
Sets the new receiving domain
setRecordLimit(int) - Method in interface org.apache.james.jspf.core.DNSService
Sets a new limit for the number of records for MX and PTR lookups.
setRecordLimit(int) - Method in class org.apache.james.jspf.impl.DNSServiceXBillImpl
Set a new limit for the number of records for MX and PTR lookups.
setSPFMustEqualsTXT(boolean) - Method in class org.apache.james.jspf.impl.SPF
Set to true if a PermError should returned when a domain publish a SPF-Type and TXT-Type SPF-Record and both are not equals.
setSPFResult(SPFSession) - Method in class org.apache.james.jspf.executor.FutureSPFResult
Set SPFResult using the given SPFsession
setSPFSession(SPFSession) - Method in class org.apache.james.jspf.executor.SPFResult
Initialize the result.
setTimeOut(int) - Method in interface org.apache.james.jspf.core.DNSService
Set the timeout for DNS-Requests
setTimeout(int) - Method in class org.apache.james.jspf.impl.DNSJnioAsynchService
Set the timeout for the resolvers
setTimeOut(int) - Method in class org.apache.james.jspf.impl.DNSServiceXBillImpl
NOTE if this class is created with the default constructor it will use the static DefaultResolver from DNSJava and this method will change it's timeout.
setTimeOut(int) - Method in class org.apache.james.jspf.impl.SPF
Set the amount of time (in seconds) before an TermError is returned when the dnsserver not answer.
setUseBestGuess(boolean) - Method in class org.apache.james.jspf.impl.SPF
Set to true for using best guess.
setUseTrustedForwarder(boolean) - Method in class org.apache.james.jspf.impl.SPF
Set to true to enable trusted-forwarder.org whitelist.
SOFTFAIL - Static variable in interface org.apache.james.jspf.core.SPF1Constants
Qualifier for SOFTFAIL
SOFTFAIL_CONV - Static variable in interface org.apache.james.jspf.core.exceptions.SPFErrorConstants
 
SPF - Static variable in class org.apache.james.jspf.core.DNSRequest
 
SPF - Class in org.apache.james.jspf.impl
This class is used to generate a SPF-Test and provided all intressting data.
SPF(DNSService, Logger) - Constructor for class org.apache.james.jspf.impl.SPF
Uses passed logger and passed dnsServicer
SPF(DNSService, SPFRecordParser, Logger, MacroExpand, SPFExecutor) - Constructor for class org.apache.james.jspf.impl.SPF
Uses passed services
SPF1Constants - Interface in org.apache.james.jspf.core
Interface which holds Constants for SPF
SPF1Record - Class in org.apache.james.jspf.core
The Class represent the SPF1 Record and provide methods to get all directives and modifiers.
SPF1Record() - Constructor for class org.apache.james.jspf.core.SPF1Record
 
SPF1Record(String) - Constructor for class org.apache.james.jspf.core.SPF1Record
 
SPF1Utils - Class in org.apache.james.jspf.core
Class that offer static methods to convert SPF Results and contains all possible results as static Strings.
SPF1Utils() - Constructor for class org.apache.james.jspf.core.SPF1Utils
 
SPF_VERSION1 - Static variable in interface org.apache.james.jspf.core.SPF1Constants
The valid SPF_VERSION identifier
SPFCheckEnabled - Interface in org.apache.james.jspf.core
Components that need to log can implement this interface so that the container will provide the SPFChecker
SPFChecker - Interface in org.apache.james.jspf.core
Interface for the SPFChecker service.
SPFCheckerDNSResponseListener - Interface in org.apache.james.jspf.core
Listeners which should get called for a SPFCheck when the DNSResponse is aviable should implement this interface.
SPFCheckerExceptionCatcher - Interface in org.apache.james.jspf.core
Implementations get called when a SPFChecker throws an Exception
SPFErrorConstants - Interface in org.apache.james.jspf.core.exceptions
 
SPFExecutor - Interface in org.apache.james.jspf.executor
 
SPFQuery - Class in org.apache.james.jspf.impl
This class is used for commandline usage of JSPF
SPFQuery() - Constructor for class org.apache.james.jspf.impl.SPFQuery
 
SPFRecordParser - Interface in org.apache.james.jspf.core
Implementations of this interface should handle parsing of SPFRecords
SPFResult - Class in org.apache.james.jspf.executor
This class is used to return the result of an SPF lookup.
SPFResult() - Constructor for class org.apache.james.jspf.executor.SPFResult
 
SPFResult(SPFSession) - Constructor for class org.apache.james.jspf.executor.SPFResult
Construct SPFResult
SPFResultException - Exception in org.apache.james.jspf.core.exceptions
Root exception for SPF methods
SPFResultException(String) - Constructor for exception org.apache.james.jspf.core.exceptions.SPFResultException
Exception
SPFRetriever - Class in org.apache.james.jspf.policies
Get the raw dns txt or spf entry which contains a spf entry
SPFRetriever() - Constructor for class org.apache.james.jspf.policies.SPFRetriever
 
SPFSession - Class in org.apache.james.jspf.core
This Class is used as a container between the other classes.
SPFSession(String, String, String) - Constructor for class org.apache.james.jspf.core.SPFSession
Build the SPFSession from the given parameters
SPFStrictCheckerRetriever - Class in org.apache.james.jspf.policies
Get the raw dns txt or spf entry which contains a spf entry.
SPFStrictCheckerRetriever() - Constructor for class org.apache.james.jspf.policies.SPFStrictCheckerRetriever
 
SPFTermsRegexps - Interface in org.apache.james.jspf.core
This constants are used by Terms to define their matching rules.
StagedMultipleSPFExecutor - Class in org.apache.james.jspf.executor
Async implementation of SPFExecutor
StagedMultipleSPFExecutor(Logger, DNSAsynchLookupService) - Constructor for class org.apache.james.jspf.executor.StagedMultipleSPFExecutor
 
stripDot(String) - Static method in class org.apache.james.jspf.core.IPAddr
Strip the last char of a string when it ends with a dot
SynchronousSPFExecutor - Class in org.apache.james.jspf.executor
Synchronous implementation of SPFExecuter.
SynchronousSPFExecutor(Logger, DNSService) - Constructor for class org.apache.james.jspf.executor.SynchronousSPFExecutor
 

T

TEMP_ERROR_CONV - Static variable in interface org.apache.james.jspf.core.exceptions.SPFErrorConstants
 
TempErrorException - Exception in org.apache.james.jspf.core.exceptions
This exception get thrown if the result should be TempError
TempErrorException(String) - Constructor for exception org.apache.james.jspf.core.exceptions.TempErrorException
 
TermDefinition - Interface in org.apache.james.jspf.parser
A term definition contains everything needed to match and create new Terms implementations.
TermsFactory - Interface in org.apache.james.jspf.parser
A TermsFactory define the list of known TermDefinition and create new Terms based on its own Definition and a Configuration
TimeoutException - Exception in org.apache.james.jspf.core.exceptions
The exception thrown on lookup timeout
TimeoutException(String) - Constructor for exception org.apache.james.jspf.core.exceptions.TimeoutException
 
TOP_LABEL_REGEX - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
ABNF: toplabel = ( *alphanum ALPHA *alphanum ) / ( 1*alphanum "-" *( alphanum / "-" ) alphanum ) ; LDH rule plus additional TLD restrictions ; (see [RFC3696], Section 2)
toString() - Method in class org.apache.james.jspf.core.DNSRequest
 
toString() - Method in class org.apache.james.jspf.core.DNSResponse
 
toString() - Method in class org.apache.james.jspf.core.IPAddr
 
toString() - Method in class org.apache.james.jspf.terms.AllMechanism
 
toString() - Method in class org.apache.james.jspf.terms.AMechanism
 
toString(String) - Method in class org.apache.james.jspf.terms.AMechanism
 
toString() - Method in class org.apache.james.jspf.terms.Directive
 
toString() - Method in class org.apache.james.jspf.terms.ExistsMechanism
 
toString() - Method in class org.apache.james.jspf.terms.ExpModifier
 
toString() - Method in class org.apache.james.jspf.terms.IncludeMechanism
 
toString() - Method in class org.apache.james.jspf.terms.IP4Mechanism
 
toString() - Method in class org.apache.james.jspf.terms.IP6Mechanism
 
toString() - Method in class org.apache.james.jspf.terms.MXMechanism
 
toString() - Method in class org.apache.james.jspf.terms.RedirectModifier
 
TRANSFORMERS_REGEX - Static variable in interface org.apache.james.jspf.core.SPFTermsRegexps
 
TRUSTED_FORWARDER_HOST - Static variable in class org.apache.james.jspf.policies.local.TrustedForwarderPolicy
The hostname to include
TrustedForwarderPolicy - Class in org.apache.james.jspf.policies.local
PolicyPostFilter which implements trusted forwared.
TrustedForwarderPolicy(Logger) - Constructor for class org.apache.james.jspf.policies.local.TrustedForwarderPolicy
 
TXT - Static variable in class org.apache.james.jspf.core.DNSRequest
 

U

UnknownModifier - Class in org.apache.james.jspf.terms
This Class represent an Unknown Modifier
UnknownModifier() - Constructor for class org.apache.james.jspf.terms.UnknownModifier
 

W

warn(String) - Method in interface org.apache.james.jspf.core.Logger
Log a warn message.
warn(String, Throwable) - Method in interface org.apache.james.jspf.core.Logger
Log a warn message.
warn(String) - Method in class org.apache.james.jspf.impl.Log4JLogger
Log a warn message.
warn(String, Throwable) - Method in class org.apache.james.jspf.impl.Log4JLogger
Log a warn message.
wire(Object) - Method in interface org.apache.james.jspf.wiring.WiringService
Called to wire a component
wire(Object) - Method in class org.apache.james.jspf.wiring.WiringServiceTable
 
WiringService - Interface in org.apache.james.jspf.wiring
This is a service used to wire a component with its dependencies.
WiringServiceException - Exception in org.apache.james.jspf.wiring
Exception raised when something goes wrong with wiring
WiringServiceException(String) - Constructor for exception org.apache.james.jspf.wiring.WiringServiceException
 
WiringServiceException(String, Exception) - Constructor for exception org.apache.james.jspf.wiring.WiringServiceException
 
WiringServiceTable - Class in org.apache.james.jspf.wiring
This class associates "Enabling interfaces" to the service that provides the dependency.
WiringServiceTable() - Constructor for class org.apache.james.jspf.wiring.WiringServiceTable
 

A B C D E F G H I L M N O P Q R S T U W

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