org.apache.james.jspf.terms
Class AllMechanism
java.lang.Object
org.apache.james.jspf.terms.AllMechanism
- All Implemented Interfaces:
- SPFChecker, ConfigurationEnabled, Mechanism
public class AllMechanism
- extends Object
- implements Mechanism, ConfigurationEnabled
This class represent the all mechanism
REGEX
public static final String REGEX
- See Also:
- Constant Field Values
AllMechanism
public AllMechanism()
checkSPF
public DNSLookupContinuation checkSPF(SPFSession spfData)
throws PermErrorException
- 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- See Also:
SPFChecker.checkSPF(org.apache.james.jspf.core.SPFSession)
config
public void config(Configuration params)
throws PermErrorException
- Description copied from interface:
ConfigurationEnabled
- Configuration
- Specified by:
config
in interface ConfigurationEnabled
- Parameters:
params
- the ConfigurationMatch which should used
- Throws:
PermErrorException
- get thrown if a PermError should returned- See Also:
ConfigurationEnabled.config(Configuration)
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.