public class VerifyEmailProcessor extends Object implements CommitProcessor, Processor, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected static Set<String> |
verificationReceivers |
| Constructor and Description |
|---|
VerifyEmailProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(Node node,
Field field)
Will be called on commit of the node.
|
static String |
decrypt(String string) |
static String |
encrypt(String string) |
protected String |
encryptKey(Node node,
Field field,
String key) |
protected String |
generateKey() |
protected ResourceBundle |
getResourceBundle(Locale locale) |
static Set<String> |
getVerificationReceivers() |
static void |
main(String[] argv) |
Object |
process(Node node,
Field field,
Object value) |
void |
setEmailField(String ef) |
void |
setIncludeUrl(String u) |
void |
setOnlyForSelf(boolean o) |
void |
setSuccessProcessor(String p) |
void |
setTextBundle(String b) |
static void |
setupEncryption() |
void |
setUrl(String u) |
static Node |
validate(Cloud cloud,
String encryptedKey)
Call this method with the key received from the client to perform the actual validation.
|
public void setOnlyForSelf(boolean o)
public void setEmailField(String ef)
public void setTextBundle(String b)
protected ResourceBundle getResourceBundle(Locale locale)
public void setSuccessProcessor(String p)
public void setUrl(String u)
public void setIncludeUrl(String u)
public static void setupEncryption()
protected String generateKey()
public static Node validate(Cloud cloud, String encryptedKey)
public void commit(Node node, Field field)
CommitProcessorcommit in interface CommitProcessorMMBase 1.9-SNAPSHOT - ${javadoctimestamp}