| org.apache.cocoon.components.modules.input.AbstractInputModule org.apache.cocoon.components.modules.input.AbstractMetaModule org.apache.cocoon.components.modules.input.DigestMetaModule
DigestMetaModule | public class DigestMetaModule extends AbstractMetaModule implements ThreadSafe(Code) | | Meta module that obtains values from other module and returns
message digest of value. Very useful for storing and checking
passwords. Input module configured through nested element
"input-module", message digest algorithm, security provider, salt,
and URL encoded output configurable through elements "algorithm",
"provider", "salt", "encode". Defaults are "sha", null, "salt", and
"false". Available value for encode are "none" (returns byte[]),
"string" (return hash as string), "url" (returns url encoded
string), "hex" (returns string of hex values).
author: Christian Haul version: CVS $Id: DigestMetaModule.java 433543 2006-08-22 06:22:54Z crossley $ |
ENCODING_HEX | final static int ENCODING_HEX(Code) | | output encoding hex
|
ENCODING_NONE | final static int ENCODING_NONE(Code) | | output encoding none
|
ENCODING_STR | final static int ENCODING_STR(Code) | | output encoding url encoding
|
ENCODING_URL | final static int ENCODING_URL(Code) | | output encoding hex
|
hexChar | static char[] hexChar(Code) | | hex digits lookup table
|
byte2Hex | static String byte2Hex(byte[] b)(Code) | | Create a hex representation of a byte array.
Parameters: b - a byte[] value a String value |
configure | public void configure(Configuration config) throws ConfigurationException(Code) | | |
getAttribute | public Object getAttribute(String name, Configuration modeConf, Map objectModel) throws ConfigurationException(Code) | | |
getAttributeNames | public Iterator getAttributeNames(Configuration modeConf, Map objectModel) throws ConfigurationException(Code) | | |
getAttributeValues | public Object[] getAttributeValues(String name, Configuration modeConf, Map objectModel) throws ConfigurationException(Code) | | |
Methods inherited from org.apache.cocoon.components.modules.input.AbstractMetaModule | public void compose(ComponentManager manager) throws ComponentException(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected Iterator getNames(Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf) throws ConfigurationException(Code)(Java Doc) protected Iterator getNames(Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf, InputModule dynamicMod, String dynamicModName, Configuration dynamicModConf) throws ConfigurationException(Code)(Java Doc) protected Object getValue(String attr, Map objectModel, ModuleHolder holder) throws ConfigurationException(Code)(Java Doc) protected Object getValue(String attr, Map objectModel, ModuleHolder staticHolder, ModuleHolder dynamicHolder) throws ConfigurationException(Code)(Java Doc) protected Object getValue(String attr, Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf) throws ConfigurationException(Code)(Java Doc) protected Object getValue(String attr, Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf, InputModule dynamicMod, String dynamicModName, Configuration dynamicModConf) throws ConfigurationException(Code)(Java Doc) protected Object[] getValues(String attr, Map objectModel, ModuleHolder holder) throws ConfigurationException(Code)(Java Doc) protected Object[] getValues(String attr, Map objectModel, ModuleHolder staticHolder, ModuleHolder dynamicHolder) throws ConfigurationException(Code)(Java Doc) protected Object[] getValues(String attr, Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf) throws ConfigurationException(Code)(Java Doc) protected Object[] getValues(String attr, Map objectModel, InputModule staticMod, String staticModName, Configuration staticModConf, InputModule dynamicMod, String dynamicModName, Configuration dynamicModConf) throws ConfigurationException(Code)(Java Doc) public synchronized void lazy_initialize()(Code)(Java Doc) protected InputModule obtainModule(String type)(Code)(Java Doc) protected void releaseModule(InputModule module)(Code)(Java Doc)
|
|
|