-
Notifications
You must be signed in to change notification settings - Fork 229
Description
Expected Behavior
I am following doc https://apache.github.io/grails-spring-security/7.0.x/core-plugin/guide/index.html section 4.5. Static Map. If i don't add securityConfigType line, everything works fine as expected.
grails.plugin.springsecurity.securityConfigType = "InterceptUrlMap"
then I add static rules
grails.plugin.springsecurity.controllerAnnotations.staticRules = [ ... ] grails.plugin.springsecurity.filterChain.chainMap = [ ... ]
But if i add this securityConfigType line (as document says i should) i get not authorized error.
Actual Behaviour
when i add the line securityConfigType, i get not authorized. For example index page is permitAll but still I get not authorized.
[pattern: '/assets/**', access: ['permitAll']], [pattern: '/index', access: ['permitAll']], [pattern: '/index.gsp', access: ['permitAll']],
Confusing part is, /assets/ are permitted. This works http://localhost:8083/example3/assets/grails.svg but this is not authorized http://localhost:8083/example3/
Steps To Reproduce
See my Example3 config
Am i configuring this wrong?
Environment Information
java=21.0.8-zulu
gradle=8.14.3
groovy=4.0.28
grails=7.0.0-RC2
Example Application
https://github.com/arjangch/grails-project-helper/blob/main/example3
Version
7.0.0-RC2
Metadata
Metadata
Assignees
Labels
Type
Projects
Status