Uses of Class
org.apache.james.jspf.core.exceptions.PermErrorException
Packages that use PermErrorException
Package
Description
-
Uses of PermErrorException in org.apache.james.jspf.core
Methods in org.apache.james.jspf.core that throw PermErrorExceptionModifier and TypeMethodDescriptionMacroExpand.checkExpand(String input, SPFSession session, boolean isExplanation) SPFChecker.checkSPF(SPFSession spfData) Run check for SPF with the given values.static IPAddrIPAddr.getAddress(String netAddress) static IPAddrIPAddr.getAddress(String netAddress, int maskLength) Get ipAddress for the given String and netmaskstatic StringIPAddr.getInAddress(String ipAddress) This method return the InAddress for the given ip.static StringIPAddr.getProperIpAddress(String ip) This method convert the given ip to the proper format.voidSPFSession.increaseCurrentDepth()Increase the current depth: if we reach maximum calls we must throw a PermErrorException.SPFCheckerDNSResponseListener.onDNSResponse(DNSResponse response, SPFSession session) Continue the check for SPF with the given values and the given DNSResponsevoidSPFCheckerExceptionCatcher.onException(Exception exception, SPFSession session) Take some action on the given ExceptionThis Method parse the given spf record and checks for syntax parse can be called by multiple concurrent threads. -
Uses of PermErrorException in org.apache.james.jspf.impl
Methods in org.apache.james.jspf.impl that throw PermErrorExceptionModifier and TypeMethodDescriptionSPF.checkSPF(SPFSession spfData) DefaultTermsFactory.createTerm(Class<?> termDef, Configuration subres) -
Uses of PermErrorException in org.apache.james.jspf.parser
Methods in org.apache.james.jspf.parser that throw PermErrorExceptionModifier and TypeMethodDescriptionTermsFactory.createTerm(Class<?> klass, Configuration subres) Create a new term starting from the TermDefinition created by this factory -
Uses of PermErrorException in org.apache.james.jspf.policies
Methods in org.apache.james.jspf.policies that throw PermErrorExceptionModifier and TypeMethodDescriptionInitialChecksPolicy.checkSPF(SPFSession spfData) SPFRetriever.checkSPF(SPFSession spfData) SPFStrictCheckerRetriever.checkSPF(SPFSession spfData) protected static StringSPFRetriever.extractSPFRecord(List<String> spfR) Return the extracted SPF-RecordNeutralIfNotMatchPolicy.getSPFRecord(String currentDomain, SPF1Record spfRecord) NoSPFRecordFoundPolicy.getSPFRecord(String currentDomain, SPF1Record res) ParseRecordPolicy.getSPFRecord(String currentDomain, SPF1Record spfRecord) Policy.getSPFRecord(String currentDomain) Get a record for the given domainPolicyPostFilter.getSPFRecord(String currentDomain, SPF1Record record) Filter or replace a record for the given domain -
Uses of PermErrorException in org.apache.james.jspf.policies.local
Methods in org.apache.james.jspf.policies.local that throw PermErrorExceptionModifier and TypeMethodDescriptionBestGuessPolicy.getSPFRecord(String currentDomain, SPF1Record record) DefaultExplanationPolicy.getSPFRecord(String currentDomain, SPF1Record spfRecord) FallbackPolicy.getSPFRecord(String currentDomain, SPF1Record res) OverridePolicy.getSPFRecord(String currentDomain) TrustedForwarderPolicy.getSPFRecord(String currentDomain, SPF1Record spfRecord) -
Uses of PermErrorException in org.apache.james.jspf.terms
Methods in org.apache.james.jspf.terms that throw PermErrorExceptionModifier and TypeMethodDescriptionbooleanAMechanism.checkAddressList(IPAddr checkAddress, List<String> addressList, int cidr) Check if the given ipaddress array contains the provided ip.AllMechanism.checkSPF(SPFSession spfData) AMechanism.checkSPF(SPFSession spfData) Directive.checkSPF(SPFSession spfSession) Run the DirectiveExistsMechanism.checkSPF(SPFSession spfData) GenericModifier.checkSPF(SPFSession spfData) IncludeMechanism.checkSPF(SPFSession spfData) IP4Mechanism.checkSPF(SPFSession spfData) MXMechanism.checkSPF(SPFSession spfData) PTRMechanism.checkSPF(SPFSession spfData) UnknownModifier.checkSPF(SPFSession spfData) protected DNSLookupContinuationExpModifier.checkSPFLogged(SPFSession spfData) Generate the explanation and set it in SPF1Data so it can be accessed easy later if neededprotected abstract DNSLookupContinuationGenericModifier.checkSPFLogged(SPFSession spfData) protected DNSLookupContinuationRedirectModifier.checkSPFLogged(SPFSession spfData) Set the host which should be used for redirection and set it in SPF1Data so it can be accessed easy later if neededvoidAllMechanism.config(Configuration params) voidAMechanism.config(Configuration params) voidConfigurationEnabled.config(Configuration params) ConfigurationvoidGenericMechanism.config(Configuration params) voidGenericModifier.config(Configuration params) voidIncludeMechanism.config(Configuration params) voidIP4Mechanism.config(Configuration params) voidUnknownModifier.config(Configuration params) protected StringGenericMechanism.expandHost(SPFSession spfData) Expand the hostnameAMechanism.onDNSResponse(DNSResponse response, SPFSession spfSession) ExistsMechanism.onDNSResponse(DNSResponse response, SPFSession spfSession) ExpModifier.onDNSResponse(DNSResponse lookup, SPFSession spfData) MXMechanism.onDNSResponse(DNSResponse response, SPFSession spfSession) PTRMechanism.onDNSResponse(DNSResponse response, SPFSession spfSession) Constructors in org.apache.james.jspf.terms that throw PermErrorException