Tks if I remove the auth, it's ok, But I want to protect this code not to excute unexpectedly.
johnson Stewart, Gary 提到: > >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >>Sent: 24 October 2006 13:31 >>To: users@cocoon.apache.org >>Subject: Re: how to call an internal-only pipeline by cocoon cron >> >> >>yes > > > That will be it then. The system won't be in an authenticated session so the > redirect rule will apply (to take the user to the login page). If you remove > the authentication from it (presumably you can put this in any external > facing pipeline but the internal one can only be called by other pipelines > anyway) then it should work as expected. > > Hope this helps, > > Gary > > More of the message: > >>> >>> >>> >>>>-----Original Message----- >>>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >>>> >>>>I've some job need to do by scheduler, the job is protected by >>>>internal-only pipeline, When the cron do pipeline call, it's >>>>will direct >>>>to login form. >>>> >>>> >>> >>>Do you use an authentication handler as well as it being >> >>internal only? >> >>>Gary >>> >>>***************************************************************** >>>The information contained in this message may be confidential or >>>legally privileged and is intended for the addressee only. If you >>>have received this message in error or there are any problems >>>please notify the originator immediately. The unauthorised use, >>>disclosure, copying or alteration of this message is >>>strictly forbidden. >>>***************************************************************** >>> >>> >>>--------------------------------------------------------------------- >>>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] >> >> > > > ***************************************************************** > The information contained in this message may be confidential or > legally privileged and is intended for the addressee only. If you > have received this message in error or there are any problems > please notify the originator immediately. The unauthorised use, > disclosure, copying or alteration of this message is > strictly forbidden. > ***************************************************************** > > > --------------------------------------------------------------------- > 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]