public abstract class AbstractDataMailPolicyFilter extends BasicMailPolicyFilter
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
logger |
REVISION
order
Constructor and Description |
---|
AbstractDataMailPolicyFilter() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
generateAuthKey(Member mbr,
Data data)
Returns a Base64( Id + ';' + MD5(Id + Password))
|
protected java.lang.String |
getContentFooter(Member toMbr,
Data data)
Returns a default content footer for the given data
|
protected java.lang.String |
getContentFooter(Member toMbr,
Data data,
java.lang.String topic,
java.lang.String address)
Returns a default content footer for the given data
|
protected java.lang.String |
getFooterSeparator()
Returns footer separator
|
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
protected Data |
isValidAuthKey(Member mbr,
java.lang.String content)
Parse mail content to find a valid authentication key and associated Data
|
afterSendMail, beforeSendMail, fetchMessage
compareTo, equals, getOrder, setOrder
public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
init
in class BasicMailPolicyFilter
plugin
- the calling pluginPluginComponent.init(Plugin)
protected java.lang.String getFooterSeparator()
protected java.lang.String generateAuthKey(Member mbr, Data data)
mbr
- the Memberdata
- the dataprotected Data isValidAuthKey(Member mbr, java.lang.String content)
mbr
- the Member performing the replycontent
- the data textprotected java.lang.String getContentFooter(Member toMbr, Data data)
toMbr
- the Memberdata
- the dataprotected java.lang.String getContentFooter(Member toMbr, Data data, java.lang.String topic, java.lang.String address)
toMbr
- the Memberdata
- the datatopic
- the mail topicaddress
- the address to replyCopyright © 2001-2010 Jalios SA. All Rights Reserved.