Hi Peter,
For complex case I'd recommend looking into Apache Shiro
http://shiro.apache.org/index.html
Kind Regards,
--Daoud.
2010/12/6 Major Péter <majorpetya_at_sch.bme.hu>:
> Hi,
>
> is it possible to match groupnames with regex or other patterns in
> sun-web/sun-application.xml?
> Currently the group names are custom strings for us, and those contains
> groupmembership information too (name of the group, role in the group,
> groupid). So now we would like to create a JAAS role for users who has
> specific role in any group (like every groupleader), but I couldn't find any
> information about the group-name element, whether it can contain */? or
> better: a regex.
> Is this possible?
>
> Thanks,
> Peter
>