title: Spring security Annotation expected to be inline constant
body: <p>I get below error in grails when I try to define my String outside @Secured annotation.</p>
  
  <p>I get following error
  Role.USER' to be an inline constant of type java.lang.String not a property expression in @grails.plugin.springsecurity.annotation.Secured</p>
  
  <pre><code>class Role {
      final static String USER = "ROLE_USER"
      final static String ADMIN = "ROLE_ADMIN"
  
  
      public final static String[] LOGINED_USER = [USER, ADMIN].asImmutable()
  
  }
  </code></pre>
  
  <p>The below controller illustrate my issue..</p>
  
  <pre><code>class MyController {
  
      @Secured(["permitAll"]) //Works fine
      def action1() {
      }
  
  
      @Secured(LOGINED_USER) //Doesn't work
      def action2() {
      }
  
      @Secured([Role.ADMIN, Role.USER]) //Doesn't work
      def action3() {
      }
  
  
      @Secured(["ROLE_ADMIN", "ROLE_USER"]) //Works fine
      def action4() {
      }
  }
  </code></pre>