The canonical example provided in Spring Security Documents is for setting up vote counts, for example, if a particular voter needs to be weighed heavier than others.
You can also customize the behavior based, say, on the properties of the protected object passed to the decide
method, for example, based on existing business logic. (This can also be handled by a user selector or other means, but if it is shared, it would be easier to place it in the solution manager.)
IMO is relatively unusual to require extensive customization at this level, but others may have additional understanding.
source share