Maurice, you were on the right track, thanks a lot! Some time ago I had defined the authorization strategy as follows:
getSecuritySettings().setAuthorizationStrategy(new IAuthorizationStrategy() { ... public boolean isInstantiationAuthorized(Class componentClass) { if (SecureStyledPage.class.isAssignableFrom(componentClass)) { if (!((MWSession) Session.get()).isUserLoggedIn()) { // Force sign in throw new RestartResponseAtInterceptPageException(Login.class); } else { return true; } } return true; } and forgotten about it. So this was the reason why it went wrong and this is the place to correct things. Cheers José -- View this message in context: http://www.nabble.com/setPageExpiredErrorPage%28PageExpired.class%29--%3E-Login-page-loaded-instead-of-PageExpired-page-tp17596262p17597602.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]