Re: authentication framework over a mysql connection

2004-09-17 Thread fabrizio picca
i attach also this lineshope it can help:

   


  
  
  
  



  

and part of the file for the sql transformation:


http://www.w3.org/1999/XSL/Transform";>
  
  
  

  http://apache.org/cocoon/SQL/2.0";> 

SELECT uid,username,password from users where username=
''
and password = '' 

  

  




On Fri, 17 Sep 2004 23:12:47 +0200, fabrizio picca
<[EMAIL PROTECTED]> wrote:
> here it is the component configuration
> 
>   
> 
>   
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
> 
> 
> On Fri, 17 Sep 2004 23:05:20 +0200, g[R]eK <[EMAIL PROTECTED]> wrote:
> > <. Hi fabrizio! .>
> >
> > Friday, September 17, 2004, 10:38:24 PM, you wrote:
> >
> > fp> i'm new to cocoon and i'm trying to develop a web application for a
> > fp> university examination.
> >
> > fp> I've read everything about Authentication FW but i cannot find nothing
> > fp> about authenticating over
> > fp> a mysql DB connection. so i've written down this piece of pipeline:
> >
> > 
> >
> > fp> 
> >
> > Authenticate match should be in internal only pipeline:
> > 
> >
> > It will protect from non internal requests.
> >
> > fp>   
> > fp>   
> > fp> 
> > fp> 
> > fp>   
> > fp> 
> >
> > I guess, above transform is only for include values of request parameters
> > (username, password). If I'm right you should use this SAFER method:
> > http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html#Substitution
> >
> > fp> 
> > fp>   
> > fp> 
> > fp> 
> > fp>   
> > fp> 
> > fp> 
> > fp> 
> > fp>   
> >
> > I'm not sure what this transform is for.
> >
> > fp> 
> >
> > fp> but i didn't reach anything but a redirect to the login page as i've
> > fp> decided in the first piece of pipeline.
> >
> > fp> Can anyone tell me what's wrong?
> > fp> Please!
> >
> > Send your handler configuration, please.
> >
> > --
> > Best regards
> > <. g[R]eK mailto:[EMAIL PROTECTED].>
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> copyright - fabpicca
> 



-- 
copyright - fabpicca

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



Re: authentication framework over a mysql connection

2004-09-17 Thread fabrizio picca
here it is the component configuration  



  

  

  


  

  




On Fri, 17 Sep 2004 23:05:20 +0200, g[R]eK <[EMAIL PROTECTED]> wrote:
> <. Hi fabrizio! .>
> 
> Friday, September 17, 2004, 10:38:24 PM, you wrote:
> 
> fp> i'm new to cocoon and i'm trying to develop a web application for a
> fp> university examination.
> 
> fp> I've read everything about Authentication FW but i cannot find nothing
> fp> about authenticating over
> fp> a mysql DB connection. so i've written down this piece of pipeline:
> 
> 
> 
> fp> 
> 
> Authenticate match should be in internal only pipeline:
> 
> 
> It will protect from non internal requests.
> 
> fp>   
> fp>   
> fp> 
> fp> 
> fp>   
> fp> 
> 
> I guess, above transform is only for include values of request parameters
> (username, password). If I'm right you should use this SAFER method:
> http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html#Substitution
> 
> fp> 
> fp>   
> fp> 
> fp> 
> fp>   
> fp> 
> fp> 
> fp> 
> fp>   
> 
> I'm not sure what this transform is for.
> 
> fp> 
> 
> fp> but i didn't reach anything but a redirect to the login page as i've
> fp> decided in the first piece of pipeline.
> 
> fp> Can anyone tell me what's wrong?
> fp> Please!
> 
> Send your handler configuration, please.
> 
> --
> Best regards
> <. g[R]eK mailto:[EMAIL PROTECTED].>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



-- 
copyright - fabpicca

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



Re: authentication framework over a mysql connection

2004-09-17 Thread g[R]eK
<. Hi fabrizio! .>

Friday, September 17, 2004, 10:38:24 PM, you wrote:

fp> i'm new to cocoon and i'm trying to develop a web application for a
fp> university examination.

fp> I've read everything about Authentication FW but i cannot find nothing
fp> about authenticating over
fp> a mysql DB connection. so i've written down this piece of pipeline:



fp> 

Authenticate match should be in internal only pipeline:


It will protect from non internal requests.

fp>   
fp>   
fp> 
fp> 
fp>   
fp> 

I guess, above transform is only for include values of request parameters
(username, password). If I'm right you should use this SAFER method:
http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html#Substitution

fp> 
fp>   
fp> 
fp> 
fp>   
fp> 
fp> 
fp> 
fp>   

I'm not sure what this transform is for.

fp> 

fp> but i didn't reach anything but a redirect to the login page as i've
fp> decided in the first piece of pipeline.

fp> Can anyone tell me what's wrong?
fp> Please!

Send your handler configuration, please.

-- 
Best regards
<. g[R]eK mailto:[EMAIL PROTECTED].>


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