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
SPFChecker
checkSPF
in interface SPFChecker
spfData
- 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()
Modifier
enforceSingleInstance
in interface Modifier
Modifier.enforceSingleInstance()
public void config(Configuration params) throws PermErrorException
ConfigurationEnabled
config
in interface ConfigurationEnabled
params
- 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.