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.
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.??!!