core/src/main/java/org/springframework/security/access/expression/AbstractSecurityExpressionHandler.java
public final EvaluationContext createEvaluationContext(Authentication authentication,
			T invocation) {
		SecurityExpressionOperations root = createSecurityExpressionRoot(authentication,
				invocation);
		StandardEvaluationContext ctx = createEvaluationContextInternal(authentication,
				invocation);
		ctx.setBeanResolver(br);
		ctx.setRootObject(root);

		return ctx;
	}
public final EvaluationContext createEvaluationContext(Authentication authentication,
			T invocation) {
		SecurityExpressionOperations root = createSecurityExpressionRoot(authentication,
				invocation);
		StandardEvaluationContext ctx = createEvaluationContextInternal(authentication,
				invocation);
		ctx.setBeanResolver(br);
		ctx.setRootObject(root);

		return ctx;
	}
Invokes the internal template methods to create {@code StandardEvaluationContext}
and {@code SecurityExpressionRoot} objects.

@param authentication the current authentication object
@param invocation the invocation (filter, method, channel)
@return the context object for use in evaluating the expression, populated with a
suitable root object.