Calling static methods from Spring Security Expressions?
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 here , but I also found reference to directly calling static methods through Spring Expression Language (Spring EL or SpEL). Unfortunately the official page on Spring Expression methods doesn't directly describe how to do this. How can I invoke a static method through Spring Expression methods? C. Ross By using the T(fully.qualified.name).methodName() syntax : You can use the special T operator to specify an instance