Modified the saml parser to handle boolean attribute value types

[KEYCLOAK-4020]
This commit is contained in:
Derek Horton 2016-12-02 14:29:35 -06:00
parent b1265f6d70
commit c149358028

View file

@ -320,6 +320,8 @@ public class SAMLParserUtil {
return StaxParserUtil.getElementText(xmlEventReader); return StaxParserUtil.getElementText(xmlEventReader);
} else if(typeValue.contains(":base64Binary")){ } else if(typeValue.contains(":base64Binary")){
return StaxParserUtil.getElementText(xmlEventReader); return StaxParserUtil.getElementText(xmlEventReader);
} else if(typeValue.contains(":boolean")){
return StaxParserUtil.getElementText(xmlEventReader);
} }