File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Soft Skills this week in the Jobs Discussion 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: 15300
    
    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: 17260
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I need more than securing URLs with Acegi