Hi All,

I am using the authorization strategy to authorize viewing of pages by checking if instantiation is allowed. If the session is not authenticated, and if instantiation is not allowed, I redirect the user to a login page using an IUnauthorizedComponentInstantiationListener.

I also check if the RENDER action is allowed using the authorization strategy. At the moment, if the user tries to view a Page which he is allowed to instantiate, but where the authorization strategy denies RENDER permission (permissions configured for render/enable, but not for instantiation), he gets a AccessDenied page. In these situations, I also want to redirect the user to a login page if the session is not authenticated.

Would IExceptionMapper be the correct place to do this? If so, could we make DefaultExceptionMapper a bit easier to extend please?

Thanks,
Jesse

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to