You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Warrell <wa...@iquo.co.uk> on 2007/02/22 10:17:20 UTC

DigestMetaModule - help required please

Hi,

 

Has anyone got this to work for comparing passwords when authenticating? I
have tried configuring it in cocoon.xconf with input-modules as with the
ChainMetaModule

 

And then invoked it the samples/modules/sitemap.xmap entry

 

<map:match pattern="content/chain.xml">

        <map:generate type="jx" src="properties.xml">

          <map:parameter name="password" value="{chain:password}"/>

        </map:generate>

        <map:transform src="properties2html.xsl">

          <map:parameter name="title" value="Digest"/>

          <map:parameter name="description" value="Digest"/>

        </map:transform>

        <map:serialize/>

      </map:match>

 

through http://localhost/samples/modules/digest.html?password=secret

 

expecting to see the output as the digest of secret.

 

I will have a look at the eXist block to see if they have used this module
but any help from you folks would be very welcome,

 

Thanks