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
