Skip to content
Snippets Groups Projects
Commit a0c1214d authored by Michael Simon's avatar Michael Simon
Browse files

NO_STORY Add missing check for empty list

parent 388b3c2f
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ public class IncomingSamlAttributesHandler extends IncomingAttributesHandler<Inc
public void createOrUpdateSamlAttribute(IncomingAttributeSetEntity incomingAttributeSet, String name,
List<Object> attributeList) {
if (attributeList == null) {
if (attributeList == null || attributeList.size() == 0) {
logger.info("No value for {}", name);
} else if (singleValueSet().contains(name)) {
if (attributeList.get(0) instanceof String) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment