Hi Luke,

The IPage has a method:

public void validate(IRequestCycle cycle) throws RequestCycleException

In this method check whether the user has the correct privillages, otherwise 
throw a PageRedirectException to another page.

See the Javadoc for net.sf.tapestry.IPage

Regards Malcolm

>From: "Luke Galea" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: [Tapestry-developer] Validating security for page view
>Date: Mon, 9 Sep 2002 16:26:48 -0400
>
>I want to implement a simple check before a page renders to ensure that
>the user has sufficient access to view the page.
>Where is the best place to do so?
>
>Thanks
>
>Luke Galea
>Software Development
>BlueCat <http://www.bluecatnetworks.com/>  Networks
>905-762-5225
>




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to