org.apache.james.jspf.terms
Class AllMechanism

java.lang.Object
  extended by org.apache.james.jspf.terms.AllMechanism
All Implemented Interfaces:
SPFChecker, ConfigurationEnabled, Mechanism

public class AllMechanism
extends java.lang.Object
implements Mechanism, ConfigurationEnabled

This class represent the all mechanism


Field Summary
static java.lang.String REGEX
           
 
Constructor Summary
AllMechanism()
           
 
Method Summary
 DNSLookupContinuation checkSPF(SPFSession spfData)
          Run check for SPF with the given values.
 void config(Configuration params)
          Configuration
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REGEX

public static final java.lang.String REGEX
See Also:
Constant Field Values
Constructor Detail

AllMechanism

public AllMechanism()
Method Detail

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 java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


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