yes that is for SimplePageAuthorizationStrategy even easier to use. Only one thing to do/create.

johan



On 2/14/06, Mark Derricutt < [EMAIL PROTECTED]> wrote:
On 2/14/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
then i prefer SimplePageAuthenticator to be in line wit hthe SimplePageAuthroizationStrategy.
But then we have a name that is not directly logical to throw into a setUnauthorizedComponentInstantiationListener
But i guess its fine.

In my small app I've just made my SimplePageAuthroizationStrategy based class implement
IUnauthorizedComponentInstantiationListener and then:

myauth = new MyAuth();
setAuthenticationStrategy(myauth);
setUnauthorizedComponentInstantiationListener(myauth);

It keeps the logic in the same place which suites me.

--
i like my video games - mamma said they are gonna melt my brains
i like my video games - i don't care what daddy said; they're my reality
  - henning pauly

Reply via email to