org.apache.james.jspf.policies.local
Class BestGuessPolicy

java.lang.Object
  extended by org.apache.james.jspf.policies.local.BestGuessPolicy
All Implemented Interfaces:
PolicyPostFilter

public class BestGuessPolicy
extends java.lang.Object
implements PolicyPostFilter

PolicyPostFilter which handles best guess. See http://www.openspf.org/FAQ/Best_guess_record for more informations


Constructor Summary
BestGuessPolicy()
           
 
Method Summary
 SPF1Record getSPFRecord(java.lang.String currentDomain, SPF1Record record)
          Filter or replace a record for the given domain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BestGuessPolicy

public BestGuessPolicy()
Method Detail

getSPFRecord

public SPF1Record getSPFRecord(java.lang.String currentDomain,
                               SPF1Record record)
                        throws PermErrorException,
                               TempErrorException,
                               NoneException,
                               NeutralException
Description copied from interface: PolicyPostFilter
Filter or replace a record for the given domain

Specified by:
getSPFRecord in interface PolicyPostFilter
Parameters:
currentDomain - the domain to retrieve the SPFRecord for
record - the previous record
Returns:
the SPFRecord found
Throws:
PermErrorException - exception
TempErrorException - exception
NoneException - exception
NeutralException - exception
See Also:
PolicyPostFilter.getSPFRecord(java.lang.String, org.apache.james.jspf.core.SPF1Record)


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