Web Application Platform

Lennart Benoot <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hey All,

I am currently in the process of defining a web application platform to 
provide web services. We have chosen Tapestry as MVC layer. I have a few 
problems I haven't been able to resolve (at least not in an elegant way):

1) I want the whole application to be available only for logged in users. 
We have an existing framework for security. I think when a request comes 
in, the front controller servlet should check wether the user has logged 
in. If not, reroute the user to the login page. How do I do this in tapestry?

2) Authorisation is also an important part of the web app platform. I would 
like to call some java-code whenever a new page is loaded. This code should 
check wether the user is allowed to access the page. If the user does not 
have the right permissions, he is rerouted to some other page. What would 
be a good way to do this?

Thanks in advance,
Lennart



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.