This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Groovy and the fly likes I need more than securing URLs with Acegi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "I need more than securing URLs with Acegi" Watch "I need more than securing URLs with Acegi" New topic
Author

I need more than securing URLs with Acegi

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hey,
I'm looking to use Acegi plugin for our Grails application.
http://grails.org/plugin/acegi
I'm not sure but it looks to me it is only secures URL, in our application I need to show/hide sections of GSP bases on roles.
Is it possible to do this with Acegi?
Thanks.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Yes, look at the documentation:

http://www.grails.org/AcegiSecurity+Plugin+-+Artifacts


GenRocket - Experts at Building Test Data
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17258
    
    6

Yep, there are tags for that




That is an example in my app, in my main layout. So that my left nav looks different based on being logged in or not, and if you have certain roles.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
Don't get me started about those stupid light bulbs.
 
subject: I need more than securing URLs with Acegi