public class UnknownModifier extends Object implements Modifier, ConfigurationEnabled
| Modifier and Type | Field and Description |
|---|---|
static String |
REGEX
ABNF: name = ALPHA *( ALPHA / DIGIT / "-" / "_" / "." ) ABNF:
unknown-modifier = name "=" macro-string
|
| Constructor and Description |
|---|
UnknownModifier() |
| Modifier and Type | Method and Description |
|---|---|
DNSLookupContinuation |
checkSPF(SPFSession spfData)
Run check for SPF with the given values.
|
void |
config(Configuration params)
Configuration
|
boolean |
enforceSingleInstance()
Return true if the Modifier is only allowed once
|
public static final String REGEX
public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException
SPFCheckercheckSPF in interface SPFCheckerspfData - The SPF1Data which should be used to run the checkPermErrorException - Get thrown if an error was detectedSPFChecker.checkSPF(org.apache.james.jspf.core.SPFSession)public boolean enforceSingleInstance()
ModifierenforceSingleInstance in interface ModifierModifier.enforceSingleInstance()public void config(Configuration params) throws PermErrorException
ConfigurationEnabledconfig in interface ConfigurationEnabledparams - the ConfigurationMatch which should usedPermErrorException - get thrown if a PermError should returnedConfigurationEnabled.config(org.apache.james.jspf.terms.Configuration)Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.