bkoehm commented on issue #1178:
URL: 
https://github.com/apache/grails-spring-security/issues/1178#issuecomment-3434290060

   I don't see where in the docs that it says to use `securityConfigType = 
"InterceptUrlMap"` when using `controllerAnnotations.staticRules`. The only 
time that `securityConfigType="InterceptUrlMap"` is used is when 
`springsecurity.interceptUrlMap` is in use instead of 
`controllerAnnotations.staticRules`.  Looking through the docs, the docs seem 
consistent on this, so I don't see anything in the docs that need to be 
corrected.  
   
   What I do generally agree on is that supporting both 
`controllerAnnotations.staticRules` and `springsecurity.interceptUrlMap` is 
confusing and I'm not sure why there is a need for both.  This recently came up 
in the comments of PR #1182 (which was in response to your #1181).  Neither 
@matrei nor I know why `interceptUrlMap` would be used over `staticRules`.
   
   I do think it's worth a discussion, perhaps on the mailing list, about the 
purpose of `interceptUrlMap` and whether we should be still keeping it around.  
At the very least, we should clarify the differences between the two in the 
documentation, but for that to happen, we need to collectively figure out what 
those differences are. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to