Any ideas what the problem is and how to solve this?
Thanks,
Paula
Paula Estrella <[EMAIL PROTECTED]> escribió:
Hi, I'm using (or trying to use) the authentication block included in cocoon and it works fine if there's only 1 user logged in, but when I try to log in twice with different user names (i.e. I want many users logged in at the same time) I get the error "org.apache.cocoon.ProcessingException: User is already authenticated using handler: portal-handler".
Now, my question is: how can I allow several users logged in at the same time using this auth. block?
Thanks in advance,
Paula
Here's the sitemap I'm using (it's basically a copy&paste from the block example)
<map:component-configurations>
<authentication-manager>
<handlers>
<handler name="portal-handler">
<redirect-to uri="cocoon:/login"/>
<authentication uri="cocoon:raw:/authenticate"/>
</handler>
</handlers>
</authentication-manager>
</map:component-configurations>
<map:match pattern="login">
<map:generate src=""/>
<map:transform src=""/>
<map:transform type="encodeURL"/>
<map:serialize/>
</map:match>
<map:match pattern="do-login">
<map:act type="auth-login">
<map:parameter name="handler" value="portal-handler"/>
<map:parameter name="parameter_name" value="{request-param:username}"/>
<map:parameter name="parameter_password" value="{request-param:password}"/>
<map:redirect-to uri="portal"/>
</map:act>
<map:redirect-to uri="error"/>
</map:match>__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar