You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by beyaNet Consultancy <be...@ntlworld.com> on 2004/02/05 12:51:22 UTC
Authentication Framework.... HELP
hi,
has anybody out there written an (Authentication Framework)
authenticator java class I could have a quick look at the code, as i
am struggling to write one and need to get this project finished like
last week!
I need to construct a class as I need to make references against a user
table in postgresql.
many thanks in advance
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Authentication Framework.... HELP
Posted by beyaNet Consultancy <be...@ntlworld.com>.
Thanks Carsten,
I will look into the info you have provided.
many thanks
On 5 Feb 2004, at 11:58, Carsten Ziegeler wrote:
> If you want to make the authentication against a SQL table, you
> can also use a cocoon pipeline and in the pipeline the SQL transformer.
> Have a look at the sample that does the authentication against an XML
> file.
>
> If you want to use a class, you have to implement the Authenticator
> interface, which is a simple java interface with two methods: one
> for trying to authenticate a user and one for login out the user.
> Cocoon itself has an example for this: the PipelineAuthenticator.
>
> HTH
> Carsten
>
>> -----Original Message-----
>> From: beyaNet Consultancy [mailto:beyanet@ntlworld.com]
>> Sent: Thursday, February 05, 2004 12:51 PM
>> To: users@cocoon.apache.org
>> Subject: Authentication Framework.... HELP
>>
>>
>> hi,
>> has anybody out there written an (Authentication Framework)
>> authenticator java class I could have a quick look at the code, as i
>> am struggling to write one and need to get this project finished like
>> last week!
>>
>> I need to construct a class as I need to make references against a
>> user
>> table in postgresql.
>>
>> many thanks in advance
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: Authentication Framework.... HELP
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
If you want to make the authentication against a SQL table, you
can also use a cocoon pipeline and in the pipeline the SQL transformer.
Have a look at the sample that does the authentication against an XML
file.
If you want to use a class, you have to implement the Authenticator
interface, which is a simple java interface with two methods: one
for trying to authenticate a user and one for login out the user.
Cocoon itself has an example for this: the PipelineAuthenticator.
HTH
Carsten
> -----Original Message-----
> From: beyaNet Consultancy [mailto:beyanet@ntlworld.com]
> Sent: Thursday, February 05, 2004 12:51 PM
> To: users@cocoon.apache.org
> Subject: Authentication Framework.... HELP
>
>
> hi,
> has anybody out there written an (Authentication Framework)
> authenticator java class I could have a quick look at the code, as i
> am struggling to write one and need to get this project finished like
> last week!
>
> I need to construct a class as I need to make references against a user
> table in postgresql.
>
> many thanks in advance
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org