List<LazyDynaBean> beans = new ArrayList<LazyDynaBean>();
if(functions==null){
resultInfo.setFailed();
}else{
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
CustomWebSecurityExpressionHandler filterSecurityInterceptor = (CustomWebSecurityExpressionHandler)StorageService.ctx.getBean("customExpressionHandler");
EvaluationContext ctx = filterSecurityInterceptor.createEvaluationContext(authentication, request);
for(String function:functions){
String expression = "hasRole('ROLE_USER') and hasIpAddress('localhost')";
Expression expr = PARSER.parseExpression(expression);
LazyDynaBean bean = new LazyDynaBean();
bean.set(function, ExpressionUtils.evaluateAsBoolean(expr, ctx));