Re: restricting access to cocoon

2002-10-29 Thread Bruno Dumon
On Tue, 2002-10-29 at 06:29, Ivelin Ivanov wrote:
 
 A few other people asked the same question recently.
 
 My personal believe is that security is orthogonal to Cocoon and belongs to
 the J2EE container.
 
 If you will have the time, please consider submitting a HOWTO patch to
 Cocoon's bugzilla on using Tomcat security with Cocoon.
 

We used the Tomcat-security-approach in a project, so I quickly wrote
down some notes about how to do it. You can find it in the wiki:
http://outerthought.net/wiki/Wiki.jsp?page=AuthWithTomcat

-- 
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java  XML Competence Support Center
[EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: Restricting access to cocoon

2002-10-29 Thread Antonio Gallardo Rivera
I made my own solution :)

I use the auth-block from Cocoon. Then I added some permisions to user to 
define some actions they can do.

After that before I generate the new page I check if the user can the access 
to the page using session:getxml. I know this is not the best approach. But 
it initially works 

I am planning to create a new Action for the sitemap.The idea is to put this 
action after the standard user authentication. Once the user is authenticated 
(isLoggedIn). I can read some permissions of this user from the session. If 
the user has the permission to see the page the action return OK. Then 
the generation continues. If not, I send a simple page: You have not 
permission.

Regards,

Antonio Gallardo



El Martes, 29 de Octubre de 2002 11:42, Bruno Dumon escribió:
 On Tue, 2002-10-29 at 06:29, Ivelin Ivanov wrote:
  A few other people asked the same question recently.
 
  My personal believe is that security is orthogonal to Cocoon and belongs
  to the J2EE container.
 
  If you will have the time, please consider submitting a HOWTO patch to
  Cocoon's bugzilla on using Tomcat security with Cocoon.

 We used the Tomcat-security-approach in a project, so I quickly wrote
 down some notes about how to do it. You can find it in the wiki:
 http://outerthought.net/wiki/Wiki.jsp?page=AuthWithTomcat

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




restricting access to cocoon

2002-10-28 Thread icewind
I want to be able to restrict access to my
Cocoon-based application, either by IP range, login,
or both. Is this something I can do easily in cocoon,
or should I look into doing this using Tomcat?



__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: restricting access to cocoon

2002-10-28 Thread Ivelin Ivanov

A few other people asked the same question recently.

My personal believe is that security is orthogonal to Cocoon and belongs to
the J2EE container.

If you will have the time, please consider submitting a HOWTO patch to
Cocoon's bugzilla on using Tomcat security with Cocoon.


Regards,

Ivelin



- Original Message -
From: icewind [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 1:37 PM
Subject: restricting access to cocoon


 I want to be able to restrict access to my
 Cocoon-based application, either by IP range, login,
 or both. Is this something I can do easily in cocoon,
 or should I look into doing this using Tomcat?



 __
 Do you Yahoo!?
 Y! Web Hosting - Let the expert host your web site
 http://webhosting.yahoo.com/

 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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