You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/04/21 21:21:00 UTC

[jira] [Reopened] (WICKET-5749) Wicket-auth-roles should deal with resource authorization

     [ https://issues.apache.org/jira/browse/WICKET-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reopened WICKET-5749:
-------------------------------------

The change leads to problems when AnnotationsRoleAuthorizationStrategy is in use. All Wicket internal resources do not have @AuthorizeResource and the authorization fails.

See http://markmail.org/message/gfx6eavyyrxxqcpd.

> Wicket-auth-roles should deal with resource authorization
> ---------------------------------------------------------
>
>                 Key: WICKET-5749
>                 URL: https://issues.apache.org/jira/browse/WICKET-5749
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-auth-roles
>    Affects Versions: 7.0.0-M3
>            Reporter: Carl-Eric Menzel
>            Assignee: Carl-Eric Menzel
>            Priority: Minor
>             Fix For: 7.0.0-M6
>
>
> We now have IAuthorizationStrategy.isResourceAuthorized, which is awesome. So far, wicket-auth-roles's implementation allows all resources to go through without any possibility of configuring that.
> I think the default auth strategy shipped with Wicket should support this :-)
> Perhaps an additional annotation like "@AuthorizeResource"?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)