Problem:
Custom objectDefinitionSource for FilterSecurityInterceptor!
Want to replace:
With a bean where I can set this attributes dynamically. At least where I can Decide witch kind of role we are going to set. This because we want to at some roles in our application.Code:CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON PATTERN_TYPE_APACHE_ANT /secure/**=ROLE_SUPERVISOR,ROLE_TELLER /test/**=ROLE_TELLER /*.do?*=ROLE_SUPERVISOR,ROLE_TELLER /*.do=ROLE_SUPERVISOR,ROLE_TELLER
We did it already with the UserDetails, we get our user info + role en the permissions that belong to those roles. So we can change roles and permissions.
But we don't know how to create our own objectDefinitionSource.
Í've created my own objectDefinitionSource class that implements FilterInvocationDefinitionSource.
But it needs to befilled with Cponfig Attributes ......etc.....
Doesn't work can somebody kick us in to the right direction.??!!


