title: Calling static methods from Spring Security Expressions?
body: <p>I'm looking for a way to extend Spring Security Expressions to support an existing security infrastructure.  I'm aware you can extend the MethodSecurityExpressionRoot as described <a href="https://stackoverflow.com/questions/6632982/how-to-create-custom-methods-for-use-in-spring-security-expression-language-annot/6634438#6634438">here</a>, but I also found <a href="http://%20You%20can%20also%20add%20functionality%20by%20calling%20static%20methods%20directly%20through%20Spring%20EL,%20rather%20than%20adding%20things%20to%20the%20root%20object." rel="noreferrer">reference</a> to directly calling static methods through Spring Expression Language (Spring EL or SpEL).  Unfortunately the <a href="http://static.springsource.org/spring/docs/3.0.5.RELEASE/reference/expressions.html" rel="noreferrer">official page</a> on Spring Expression methods doesn't directly describe how to do this.</p>
  
  <p>How can I invoke a static method through Spring Expression methods?</p>