shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tamás Cservenák" <>
Subject Roles filter
Date Tue, 29 Jul 2008 13:12:16 GMT
Hi there,

I'm trying to set up a RolesAuthorizationFilter, unsuccesfully.

A quick question regarding the code in SVN trunk:

When you apply the [url] section from servlet filter config, for
example the line:

  /service/** = authcBasic,roles[admin]

according to code, it gets applied as String[] in PathMatchingFilter
(the parent of RolesAuthzFilter), on line 53.

BUT, the RolesAuthorizationFilter on line 42 tries to cast it to
Set<String> and throws ClassCastException...

Am i missing something here? Is this a bug or i did oversee something?


View raw message