title: Spring Security @PreAuthorize
body: <p>I'm trying to access the current active profile via the Spring Security @PreAuthorize annotation like</p>
  
  <pre><code>@PreAuthorize("hasRole('SOME_' + #{ environment.activeProfiles[0] } + '_ROLE')")
  </code></pre>
  
  <p>I'm receiving the following exception:</p>
  
  <p>EL1043E: Unexpected token. Expected 'identifier' but was 'lcurly({)'</p>
  
  <p>Is there a way to do this without writing a custom expression handler?</p>