users@glassfish.java.net

Re: Complex matching of JAAS roles

From: Daoud Abdelmonem Faleh <abdelmonem.faleh_at_gmail.com>
Date: Wed, 8 Dec 2010 12:26:35 +0100

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
>