}
// Evaluate AccountLink expression
String evalAccountLink = null;
if (StringUtils.isNotBlank(attrUtil.getAccountLink(resource))) {
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);
}