Reputation: 27385
I'm trying to understand how uel-interception works in spring security. Let assume that we write the following rule in our security config:
<security:intercept-url pattern="/secure/super/**" access="ROLE_WE_DONT_HAVE"/>
My question is is Spring Security going to create the object of AbstractSecurityInterceptor or what? I need to understand that because if my assumption about creation an object for each rule right I'm going to create the instances dynamically by myself in order to control authentication rule dynamically in runtime.
Upvotes: 0
Views: 394
Reputation: 6944
basically spring security will create one instance of FilterSecurityInterceptor this filter will read the url pattern and will try to protected the mapped url more information here spring security core
Upvotes: 1