grails and springsecurity config problem [closed]
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'
精彩评论