users@glassfish.java.net

Re: debugging JDBCRealm configuration

From: krishna unni <unnisworld_at_yahoo.com>
Date: Wed, 7 Feb 2007 20:55:36 -0800 (PST)

if we are using db tables for user/group/role mapping
do we still need sun-web.xml??
/unni
--- Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM> wrote:

> glassfish_at_javadesktop.org wrote:
> > Thank you for replying.
> >
> > We discovered something that has allowed us to get
> JDBCRealm to work. There is
> > an important piece that is not covered in the
> developinjava article: a sun-web.xml
> > configuration file that contains some role-mapping
> tags.
> >
> The security-role-mapping is needed for GlassFish
> application.
> But one can also have a default
> security-role-mapping generated in
> deployment time by
> turning on default principal to role mapping in
> admin GUI and then
> "restart the server".
> Then all the newly deployed application will have a
> default principal to
> role mapping if there is no security-role-mapping
> there.
> > The example application mentioned at the very
> bottom of the article does contain
> > a sun-web.xml file, however, and it was the
> missing piece in our case.
> > [Message sent by forum member 'pohl' (pohl)]
> >
> >
>
http://forums.java.net/jive/thread.jspa?messageID=202568
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail:
> users-help_at_glassfish.dev.java.net
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail:
> users-help_at_glassfish.dev.java.net
>
>


Unnikrishnan.K.V
Sun Microsystems, Bangalore.


 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com