Hello,

 

I have a login only application and for the most part you just need to be
logged in to use it except for a couple of pages.

 

To enforce this I made a class:

 

Class SecurePage{

 

Object onActivate(){

                If(!visitExists){

                Return index.class;

}

Return null;

 

}

 

I just then extend my pages with this one.(which will have other various
methods common to many pages)

 

My problem:  Is there a way to override the onActivate (or a way around it)
in the page that extends SecurePage so I could perform additional security
checks?

 

Thanks,

--James

Reply via email to