I understand that, but what I want to do is create a message on that page that reads "Users in group xxx do not have access to yyy" where yyy would be the name of the principal that triggered the access denied. I need to get the name of that principal.
> -----Original Message----- > From: Maurice Marrink [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 13, 2008 12:12 AM > To: users@wicket.apache.org > Subject: Re: wicket-security Custom Access Denied Page > > > In the init of your webapp do > getApplicationSettings().setAccessDeniedPage(MyPage.class) > > This is a wicket setting and not related to the security framework. > > Maurice > > On Feb 12, 2008 7:50 PM, Warren <[EMAIL PROTECTED]> wrote: > > How do you set-up a custom "access denied page" that has a message on it > > like "Users in group xxx do not have access to yyy"? I also want to have > > this page return to the previous page the user was on. I am using > > wicket-security (wasp and swarm). > > > > Thanks, > > > > Warren Bell > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]