aspose file tools*
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
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: 17250
    
    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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: I need more than securing URLs with Acegi