开发者

grails and springsecurity config problem [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 10 years ago.

Greetings! I'm trying to implement SringSecurity in my project and use Static URL rules.

I have a FamilyController and would like to restrict access to all it's actions, but no matter what I try they remain accessible without authentication. Now, I tried to secure them with annotations and that works like a charm. But deciding against that I removed all the annotations and decided to use Static URL rules instead.

The very top of Config.groovy file looks like this:

    import grails.plugins.springsecurity.SecurityConfigType

grails.plugins.开发者_C百科springsecurity.securityConfigType = SecurityConfigType.InterceptUrlMap

grails.plugins.springsecurity.iterceptUrlMap = [
        '/family/**' : ['IS_AUTHENTICATED_FULLY']
]

... but for the life of me I can't see what I'm missing. Will appreciate any help. Thanks.


you spelled iNterceptUrlMap incorrectly. You are missing the 'n'

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜