users@glassfish.java.net

Re: Using Glassfish Realms with Grails

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Fri, 06 Mar 2009 08:32:34 -0800

Michael Mellinger wrote:
> Yeah, I did the example. Worked fine for the Java app. In theory, it
> should work. Especially since Grails is Java/JSP under the hood. I
> could probably just incorporate the example into the Grails project.
That will be great!

> However, I think working with a security framework might be a better
> way to go as an enterprise solution.
>
By security framework you mean JSecurity? I am not familiar with it. If
your investigation could bring up any issue that we can do on GlassFish
side we can try to incorporate it.

-vivek.
> -Mike
>
>
>
>
> On Wed, Mar 4, 2009 at 8:36 PM, Vivek Pandey <Vivek.Pandey_at_sun.com
> <mailto:Vivek.Pandey_at_sun.com>> wrote:
>
> Grails application after all is a web application - not only
> deployed as a WAR file but Grails Servlets,
> ServletContextListner/Filters and Spring wires it all up with
> groovy/JSP.
>
> Did you try to follow the direction at
> http://www.netbeans.org/kb/articles/security-webapps.html?
> Theoretically you should be able to use the glassfish realm
> directly with Grails app.
>
> -vivek.
>
> Michael Mellinger wrote:
>
> Is there a way to get Grails to use a realm created in
> Glassfish. This tutorial, for examples, shows how to use the
> file realm in Glassfish.
>
> http://www.netbeans.org/kb/articles/security-webapps.html
>
> How would I get a Grails app to use the file realm so that I
> would only have to log into Glassfish once? We currently use
> the JSecurity plugin.
>
> http://www.grails.org/JSecurity+Plugin
>
> The other popular plugin is Spring Security.
>
> http://www.grails.org/AcegiSecurity+Plugin
>
> -Mike
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> <mailto:users-unsubscribe_at_glassfish.dev.java.net>
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> <mailto:users-help_at_glassfish.dev.java.net>
>
>