cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <ajuf...@sun3.oulu.fi>
Subject authentication-fw
Date Thu, 05 May 2005 15:43:25 GMT
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


Mime
View raw message