title: Use complex expression with Spring EL (conditional & parenthesis)
body: <p>I'm using spring-EL with spring security</p>
  
  <p>Is it possible to make 'complex' conditional expressions with parentesis?</p>
  
  <pre><code>@PreAuthorize("( hasRole('ROLE_USER') and ( isOwnerDocumentUUID( #docUuids ) ) or hasRole('ROLE_ADMIN')  ")
  </code></pre>
  
  <p>throw an java.lang.IllegalArgumentException:</p>
  
  <blockquote>
    <p>Failed to parse expression </p>
  </blockquote>
  
  <p>but  </p>
  
  <pre><code>@PreAuthorize("hasRole('ROLE_USER') and ( isOwnerDocumentUUID( #docUuids ) ")
  </code></pre>
  
  <p>is accepted.</p>