![]() | ![]() | PasswordTransformerThe Password Transformer provides a means of transforming a plain-text string into an MD5 encrypted string. A typical use of PasswordTransformer would be <map:transformers default="xslt">
<map:transformer name="password" src="resource://lib/transforming/PasswordTransformer"/>
...
</map:transformers>
<map:pipelines>
<map:pipeline>
<map:match pattern="login.xml">
...
<transform type="password"/>
...
</map:match>
</map:pipeline>
</map:pipelines> The transformer is based on a single <authentication> tag which has the form: <authentication username="hsfr" password="mypassword" /> After processing with the PasswordTransformer the tag becomes: <authentication username="hsfr" password="h7fdT71xxxxxxxxxxxxxxxGFdgfg" /> | ![]() |


