yes indeed. dbforms makes use of the container's security roles (as defined
by Sun's servlet specs)

however you should write
...
select="admin,user"
...

instead of
select="admin","user"

regards,
joe

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:jdbforms-interest-admin@;lists.sourceforge.net]Im Auftrag von
McBrayer, Roy
Gesendet: Mittwoch, 6. November 2002 23:11
An: '[EMAIL PROTECTED]'
Betreff: [dbforms] Security and roles within dbforms


If roles are set in a security realm within TomCat, will these same roles be
recognized as the groups/roles that are used within the <granted-privileges>
tag in the dbforms-config.xml  ?

For instance, if I set (in tomcat-users.xml)

<tomcat-users>
  <user name="paula" password="boss" roles="admin" />
  <user name="hans" password="secret" roles="user" />
</tomcat-users>


can  I use

<granted -privileges
select="admin","user"
delete="admin"/>

?


Thanks,
Roy McBrayer


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to