Some fun for a change

A programmer is leaving his house to pick up his dry cleaning. His wife tells him, “While you’re out, do some grocery shopping.” The programmer never returns home. A man and woman are in a computer programming lecture. The man touches the woman’s breasts. “Hey!” she says. “Those are private!” The man says, “But we’re […]

How to add AccessDescisionVoters to AccessDescisionManager in Spring Security

Here’s a pretty neat approach to add AccessDescisionVoters to the default AccessDescisionManager in Spring Security:

Source: http://forum.springsource.org/showthread.php?116830-How-to-add-voters-to-the-default-accessDecisionManager&s=1a6d05dedb0342570b900141a6d53d2e&p=386079#post386079