public SpringExpressionLanguageValueResolver withApplicationContext(final ApplicationContext applicationContext) {
        evaluationContext.setVariable("applicationContext", (Supplier<ApplicationContext>) () -> applicationContext);
        return this;
    }
With application context.

@param applicationContext the application context
@return the spring expression language value resolver
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/SpringExpressionLanguageValueResolver.java