Upgrade to the newer Spring property configurer and use expression based security.