Hi,

Check your impl of org.apache.wicket.authorization.IAuthorizationStrategy
Somewhere in YourApp#init you must have
getSecuritySettings().setAuthorizationStrategy(...)

Martin Grigorov
Wicket Training and Consulting


On Wed, Jan 22, 2014 at 7:31 AM, jchappelle <[email protected]> wrote:

> I'm trying to set a custom PageExpiredErrorPage and I'm not able to do
> that.
> It appears that the framework is calling my onUnauthorizedInstantiation
> method in my implementation of IUnauthorizedComponentInstantiationListener
> instead.
>
> Here is how I am able to reproduce:
> 1. User logs in
> 2. Wait longer than the session timeout (1 minute for testing)
> 3. User clicks a link on the page
>
> My IUnauthorizedComponentInstantiationListener is sending them back to the
> login page because they are no longer logged in.
>
> I've searched and looked through wicket code but I can't find the answer.
> What am I doing wrong?
>
> Thanks
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Understanding-setPageExpiredErrorPage-and-onUnauthorizedInstantiation-tp4663870.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to