JD Daniels dijo: > You aren't late.. it still doesn't work :) > > > changing <authentication uri="cocoon://auth/authUser.xsp"/> > > to > > <authentication uri="cocoon:raw:///auth/authUser.xsp"/> > throws: > java.lang.RuntimeException: The current URI (/auth/authUser.xsp) doesn't > start with given prefix (auth) > (which confuses me).
Yep. This is a weird error. Are you using flow? I review again the thread and you post: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107550433510446&w=2 I think it could be a problem in redirection. I suggest to move the problem to the dev list, since some developers does not follow the user list. BTW, sorry for the noise, my solution works when you have the authetication in the root sitemap. Best Regards, Antonio Gallardo. > > > but > > > <authentication uri="cocoon://auth/authUser.xsp"/> > > Throws no errors.. and authenticates me. I just see no page serialized > out. > > The auth-fw seems to be working fine. I just don't get sent to right page > when: > > 1.) A successful login occurs > 2.) An already authenticated user tries to login again > > > JD > > -----Original Message----- > From: Antonio Gallardo [mailto:[EMAIL PROTECTED] > Sent: 2004-01-30 2:32 PM > To: [EMAIL PROTECTED] > Subject: RE: Flow Redirect The auth-fw with cocoon:/ Not working > > > Hi: > > Sorry to be late, I know I am too late, but maybe this helps. In my > authentication with flow I am using: > > <map:pipelines> > <map:component-configurations> > <authentication-manager> > <handlers> > <handler name="authhandler"> > <redirect-to uri="cocoon://entrada"/> <!-- Se llama si > el usuario no ha sido autenticado --> > <authentication uri="cocoon:raw:///autentificar"/> > <!-- Verifica datos del usuario --> > </handler> > </handlers> > </authentication-manager> > </map:component-configurations> > > And this works fine. > > Best Regards, > > Antonio Gallardo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
