It's not a secret anymore!
The moose likes Groovy and the fly likes Groovy/Grails Basic Login Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Groovy/Grails Basic Login Framework" Watch "Groovy/Grails Basic Login Framework" New topic

Groovy/Grails Basic Login Framework

Mark Herschberg

Joined: Dec 04, 2000
Posts: 6037
I'm in the process of learning groovy (and grails). I'm looking for a basic login system, e.g create and manage accounts, forgot password, ideally some group ACL. Does anyone know of anything I can use?

(Some grails tutorials have references a CMS sample but I can't find it in grails 1.0.1; but I'm open to other sample code/frameworks as well.)

Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Hm, it looks like there was a samples/simple-cms project in the grails distribution as late as grails 0.5.6 - after that, all samples were apparently removed. The latest development code in does now have a grails-samples directory, but simple-cms is not one of the projects there. Perhaps changes in grails itself broke the earlier examples, and they removed the samples until such time as people had an opportunity to update them. Just a guess. The grails-user mailing list archive has various people asking where simple-cms is located, and also some people saying they can't get it to work. So far I haven't found a clear statement of what happened. It might be worthwhile to simply ask yourself.

Ah, after some more digging:

The book The Definitive Guide to Grails has some sample login code in chaper 7. I've seen some comments to the effect that this book is now out of date, and a second edition is planned. Dunno how applicable that is to their login code.

I'm guessing the best bets right now are to look at the plugins for Acegi or JSecurity. I can't say anything about them myself really; I've just browsed very briefly.
[ February 26, 2008: Message edited by: Jim Yingst ]

"I'm not back." - Bill Harding, Twister
I agree. Here's the link:
subject: Groovy/Grails Basic Login Framework
It's not a secret anymore!