BagAttribute bag = (BagAttribute) (result.getAttributeValue());
if (bag.isEmpty())
{
ArrayList code = new ArrayList();
code.add(Status.STATUS_MISSING_ATTRIBUTE);
Status status = new Status(code, "missing subject-id");
return new EvaluationResult(status);
}
// Finally search for the subject with the role-mapping defined,
// and if there is a match, add their role