"urn:oasis:names:tc:xacml:1.0:subject:subject-id"), subjectCategory);
if (subject.getAttributeValue().isBag()) {
BagAttribute attr = (BagAttribute) subject.getAttributeValue();
for (Iterator iterator = attr.iterator(); iterator.hasNext();) {
AttributeValue val = (AttributeValue) iterator.next();
subjectId = val.encode();
if (log.isDebugEnabled()) {
log.debug(String.format("Finding attributes for the subject %1$s",
subjectId));
}
break;