title: Custom Permission Evaluator
body: <p>I'm trying to override the default permission evaluator in Spring Security 3.0, but no matter what I do, the permission elevator is ignored and the default, <code>DenyAllPermissionEvaluator</code> is invoked instead.</p>
  
  <p>I'm using programmatic configuration, and I've tried setting the permission evaluator by overriding the configure(WebSecurity) and configure(Http) methods of the <code>WebSecurityConfigurerAdapter</code> class, but this doesn't help much.</p>
  
  <p>What is the proper way of setting a custom permission evaluator that will actually be used by Spring Security?</p>