You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andre Juffer <aj...@sun3.oulu.fi> on 2005/05/05 17:43:25 UTC

authentication-fw

Peter,

sorry for the delay (other duties to take care off).

In any case, I found it. This is the orginal fragment in the sitemap

<map:match pattern="do-login">
   <map:act type="auth-login">
     <map:parameter name="handler" value="sopashandler"/>
     <map:parameter name="parameter_userid"
                    value="{request-param:userid} " />
     <map:parameter name="parameter_password"
                    value="{request-param:password} " />
     <map:redirect-to uri="p-index"/>
   </map:act>
   <map:redirect-to uri="login"/>
</map:match>


This is the correct one:

<map:match pattern="do-login">
   <map:act type="auth-login">
     <map:parameter name="handler" value="sopashandler"/>
     <map:parameter name="parameter_userid"
                    value="{request-param:userid}" />
     <map:parameter name="parameter_password"
                    value="{request-param:password}" />
     <map:redirect-to uri="p-index"/>
   </map:act>
   <map:redirect-to uri="login"/>
</map:match>


There was an extra space in the value of the request parameters that 
were send to the authenticator!

Well, this took more than a week to spot, but in any case it is working now.

Thanks again for your help.

-- 
Andre H. Juffer              | Phone: +358-8-553 1161
The Biocenter and            | Fax: +358-8-553-1141
     the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org