String evalAccountLink = null;
if (StringUtils.isNotBlank(attrUtil.getAccountLink(resource))) {
final ConfigurableApplicationContext context = ApplicationContextProvider.getApplicationContext();
final JexlUtil jexlUtil = context.getBean(JexlUtil.class);
final JexlContext jexlContext = new MapContext();
jexlUtil.addFieldsToContext(subject, jexlContext);
jexlUtil.addAttrsToContext(subject.getAttributes(), jexlContext);
jexlUtil.addDerAttrsToContext(subject.getDerivedAttributes(), subject.getAttributes(), jexlContext);
evalAccountLink = jexlUtil.evaluate(attrUtil.getAccountLink(resource), jexlContext);
}