Protecting melody monitoring with acegi in grails
Posted
by xain
on Stack Overflow
See other posts from Stack Overflow
or by xain
Published on 2010-06-02T20:42:42Z
Indexed on
2010/06/02
20:44 UTC
Read the original article
Hit count: 282
grails
|monitoring
Hi, I have a Grails 1.2 app secured with acegi that I'm monitoring with the melody plugin for grails. I need to protect the url so only the "admin" role can access it but I'm having trouble with it - the rest of the acegi rules work just fine.
In the BootStrap, I set
def secureReqMap = new Requestmap(url: '/monitoring/**', configAttribute:'ROLE_ADMIN').save()
Also tried with
def secureReqMap = new Requestmap(url: '/monitoring', configAttribute:'ROLE_ADMIN').save()
With no luck, it keeps being public. Any hints?
Thanks
© Stack Overflow or respective owner