[
https://issues.apache.org/jira/browse/WICKET-6463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152781#comment-16152781
]
Kamil commented on WICKET-6463:
-------------------------------
By the way, AnnotationsRoleAuthorizationStrategy#L174 checks
"isEmpty(acceptedRoles) || hasAny(acceptedRoles)" while hasAny(Roles) does
exactly the same check
> Please add additional constructor to Roles
> ------------------------------------------
>
> Key: WICKET-6463
> URL: https://issues.apache.org/jira/browse/WICKET-6463
> Project: Wicket
> Issue Type: Improvement
> Reporter: Kamil
> Priority: Trivial
>
> org.apache.wicket.authroles.authorization.strategies.role.Roles can be
> initialized using String[], but it should be also possible to initialize it
> using any Collection<String> (since it's already a HashSet, it should be
> pretty strightforward)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)