Peter,

thanks for your reply. I have tried your suggestion, but it has no effect. From the sitemap.log, I cannot see any attempt to contact the authentication resource. It just indicates:

INFO (2005-04-29) 18:38.13:472 [sitemap] (/sopas/do-login.xxx) http-8080-Processor25/ForwardRedirector: Redirecting to 'login'

So, it went correctly to do-login.xxx resource, but as far as I can see it never attempts to contact the authentication resource. I would have expected an entry in the log file about this. There is an entry in the core.log:

INFO (2005-04-29) 18:38.13:470 [core.authentication-manager] (/sopas/do-login.xxx) http-8080-Processor25/PipelineAuthenticator: Authenticator: Failed authentication using handler 'sopashandler'

So, something is not working. Given the fact that the authentication resource works, when I call it manually, I suspect an error in the sitemap somewhere:

 <map:pipelines>
 ...
    <map:component-configurations>
      <authentication-manager>
        <handlers>
          <handler name="sopashandler">
            <redirect-to uri="cocoon:/login" />
            <authentication uri="cocoon:raw:/accounts/authenticate" />
          </handler>
        </handlers>
      </authentication-manager>
    </map:component-configurations>
--
</map:pipelines>


Is the <map:component-configurations> in fact at the right location in the sitemap? There are a few typing errors in the documentation.


Thanks,
Andre.


[EMAIL PROTECTED] wrote:



Hi Andre

I don't see anything wrong with the code. I had the same problem and fixed
it as follows. Make two changes:
<form action="do-login.xxx" method="post">
and
<map:match pattern="do-login.xxx">
If that doesn't help, what's in the sitemap.log?

HTH
Peter


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to