stick that name into requestcycle's metadata, and pull it out in yoru
implementation of access denied page

-igor


On Feb 13, 2008 8:31 AM, Warren <[EMAIL PROTECTED]> wrote:
> 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: [email protected]
> > 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to