Re: [Auth-framwork] - How to manage multiple documents.

2002-09-05 Thread Barbara Post
Hello Antonio, you have somewhere a database, ldap directory or (for tests) an xml file storing ID, password, permissions for each user, and then the authentication simply happens the way you prefer, with an action etc. All the pages are protected by the same handler. Have a nice day, Babs

RE: [Auth-framwork] - How to manage multiple documents.

2002-09-05 Thread Matthew Langham
Hi Antonio, an interesting scenario - are you serious? :-) The authentication framework allows you to pass additional data back from the authentication pipeline. One solution would be to use the same handler for all the different pipelines but to pass back additional values that contain the

Re: [Auth-framwork] - How to manage multiple documents.

2002-09-05 Thread Antonio Gallardo Rivera
Hi Barbara I see you posting always! ;) Thanks, So Do you mean the best approach is to put the permission to every file into the data element of the auth-protect action? Then check this permission into each page? The auth-session data will return something like: authentication

Re: [Auth-framwork] - How to manage multiple documents.

2002-09-05 Thread Barbara Post
thing or another. Interesting thread anyway :-) Barbara - Original Message - From: Antonio Gallardo Rivera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 05, 2002 9:08 AM Subject: Re: [Auth-framwork] - How to manage multiple documents. Hi Barbara I see you posting

Re: [Auth-framwork] - How to manage multiple documents.

2002-09-05 Thread Tuomo Lesonen
I've done mine as Carsten proposed, by using the parameters returned by the AuthAction in the pipeline. Works great for protecting multiple pages! But if you want to show different things for different users, you will have to use the SessionTransformer. It can be done inside a xsp-page too, but