wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Bors <p...@bors.ws>
Subject Re: Authorization
Date Mon, 29 Apr 2013 15:22:15 GMT
As per http://wicket.apache.org/learn/projects/authroles.html@AuthorizeInstantiation
takes a single string.

You're literaly passing it "Useradministrator (SMW_GUI_USERADMIN_ROLE)" as
a single role.
Perhaps you meant
@AuthorizeInstantiation(Useradministrator(SMW_GUI_USERADMIN_ROLE))?

~ Thank you,
    Paul Bors


On Mon, Apr 29, 2013 at 6:57 AM, <Christoph.Manig@t-systems.com> wrote:

> Hello,
>
> my app extends from AuthenticatedWebApplication. Some pages should have
> seen by user with a certain role. So I write this:
> @AuthorizeInstantiation("Useradministrator (SMW_GUI_USERADMIN_ROLE)")
>
> But when I login with a user with another role. This user can see this
> page. Have you any idea why?
>
>
> Mit freundlichen Grüßen
> Christoph Manig
> Systems Engineer
>
> T-Systems International GmbH
> Systems Integration - SC Travel, Transport & Logistics
> Hoyerswerdaer Str. 18
> 01099 Dresden
> tel.:   +49 (0) 351 / 8152 - 188
> fax:    +49 (0) 351 / 8152 - 209
> email:  Christoph.Manig@t-systems.com
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message