title: Spring RequestMapping parameter custom annotation
body: <p>in my web application I have many places where I need to retrieve current logged account (from session).</p>
  
  <pre><code>Account account = getAccountFromSession(session);
  </code></pre>
  
  <p>This piece of code is repeated many many times. I wonder if this is possible to make my request look something like this:</p>
  
  <pre><code>@RequestMapping(value="/something", method=RequestMethod.POST)
  public String handleSomething(
          @RequestParam String someParam,
          @Account Account account) { ... }
  </code></pre>
  
  <p>where @Account is my custom annotation.</p>
  
  <p>How can I tell spring to process this annotation?</p>