|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.jspf.policies.local.TrustedForwarderPolicy
public class TrustedForwarderPolicy
PolicyPostFilter which implements trusted forwared. See http://www.trusted-forwarder.org for more informations
Field Summary | |
---|---|
static java.lang.String |
TRUSTED_FORWARDER_HOST
The hostname to include |
Constructor Summary | |
---|---|
TrustedForwarderPolicy(Logger log)
|
Method Summary | |
---|---|
SPF1Record |
getSPFRecord(java.lang.String currentDomain,
SPF1Record spfRecord)
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 |
Field Detail |
---|
public static final java.lang.String TRUSTED_FORWARDER_HOST
Constructor Detail |
---|
public TrustedForwarderPolicy(Logger log)
log
- the loggerMethod Detail |
---|
public SPF1Record getSPFRecord(java.lang.String currentDomain, SPF1Record spfRecord) throws PermErrorException, TempErrorException, NoneException, NeutralException
PolicyPostFilter
getSPFRecord
in interface PolicyPostFilter
currentDomain
- the domain to retrieve the SPFRecord forspfRecord
- the previous record
PermErrorException
- exception
TempErrorException
- exception
NoneException
- exception
NeutralException
- exceptionPolicyPostFilter.getSPFRecord(java.lang.String, org.apache.james.jspf.core.SPF1Record)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |