Commit 307be019 authored by michael.simon's avatar michael.simon
Browse files

Used wrong Element from Attribute

parent 1bc4862b
......@@ -278,8 +278,9 @@ public class Saml2AssertionService {
subjectId = getIdFromAttribute(idpEntity, attribute, debugLog);
}
else {
if (attribute.getAttributeValues().size() == 1) {
Object o = attribute.getAttributeValues().get(0);
List<Object> attributeList = samlHelper.getAttribute(attribute);
if (attributeList.size() == 1) {
Object o = attributeList.get(0);
attributeMap.put(attribute.getName(), o.toString());
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment