开发者

Protecting melody monitoring with acegi in grails

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


Now works fine with Grails 1.3.2

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜