title: Spring Security @RolesAllowed Works but @Secured gives me AccessDeniedException in Spring 3.2 with Spring Security 3.1
body: <p>I am having an issue where my Controller method with @RolesAllowed works correctly but if I try to use @Secured I get an AccessDeniedException.  While I would prefer to use the @RolesAllowed Annotation it has been declared that for this project we should Use @Secured because the name is less confusing when mapped to our legacy access rights.</p>
  
  <p>I have the annotation configured as follows:</p>
  
  <pre><code>&lt;security:global-method-security jsr250-annotations="enabled" secured-annotations="enabled" pre-post-annotations="enabled" /&gt;
  </code></pre>
  
  <p>When I use <code>@RolesAllowed("COMPANY_SEE_REPORTS")</code> which my user has, it works correctly.  When I use <code>@Secured("COMPANY_SEE_REPORTS")</code> I get an AccessDeniedException.  Just to make sure @RolesAllowed was working correctly I changed the role to a role that didn't exist and at that point @RolesAllowed threw.  So my question is how can I get @Secured to work correctly?</p>