title: Alternatives to spring-security in Java (spring)
body: <p>I'm looking for a good security framework that allows to annotate parameter based access rules to methods.</p>
  
  <p>Basicly i want to check if the authenticated user is allowed to call a certain method with a specific object as a parameter.</p>
  
  <p>Spring security would serve my needs but because of <a href="https://stackoverflow.com/questions/10110374/preauthorize-doesnt-work">this</a> (<a href="http://forum.springsource.org/showthread.php?125300-PreAuthenticate-not-having-any-effekt" rel="nofollow noreferrer">spring forum</a>) i'm looking for alternatives if i'm unable to get it to work.</p>
  
  <p>Requirements:</p>
  
  <ul>
  <li>method security based on config or annotations, i want to avoid puting my security code insite my service methods</li>
  <li>rules are based on parameters of the methods, simple role based security is not enough</li>
  <li>spring support out of the box is a plus</li>
  </ul>
  
  <p>Any recommendations?</p>