org.apache.james.jspf.policies
Interface PolicyPostFilter

All Known Implementing Classes:
BestGuessPolicy, DefaultExplanationPolicy, FallbackPolicy, NeutralIfNotMatchPolicy, NoSPFRecordFoundPolicy, OverridePolicy, ParseRecordPolicy, TrustedForwarderPolicy

public interface PolicyPostFilter

Return an spf record from a given domain.


Method Summary
 SPF1Record getSPFRecord(java.lang.String currentDomain, SPF1Record record)
          Filter or replace a record for the given domain
 

Method Detail

getSPFRecord

SPF1Record getSPFRecord(java.lang.String currentDomain,
                        SPF1Record record)
                        throws PermErrorException,
                               TempErrorException,
                               NoneException,
                               NeutralException
Filter or replace a record for the given domain

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


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