users@glassfish.java.net

Re: Glassfish v2 ur2 JDBC Realm

From: <glassfish_at_javadesktop.org>
Date: Sat, 12 Jul 2008 10:39:07 PDT

Hi,

You may want to assign a default group to all authenticated users (i.e: setting the "assign group" property of the JDBC realm to "ANYONE"), and map the "guest" role by group name:

[code]
<security-role-mapping>
    <role-name>guest</role-name>
    <group-name>ANYONE</group-name>
</security-role-mapping>
[/code]
[Message sent by forum member 'jmarine' (jmarine)]

http://forums.java.net/jive/thread.jspa?messageID=286173