Skip to content

Commit

Permalink
feat: use asText to capture numbers as strings
Browse files Browse the repository at this point in the history
  • Loading branch information
NithinKuruba committed Sep 11, 2024
1 parent c9a927d commit 71d0b33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public void transformAttributeStatement(AttributeStatementType attributeStatemen
JsonNode attributeValue = deepFetchAttributes(userInfo, userAttribute, attributeStatement);
if (attributeValue != null) {
attribute.setNameFormat(JBossSAMLURIConstants.ATTRIBUTE_FORMAT_BASIC.get());
attribute.addAttributeValue(attributeValue.textValue());
attribute.addAttributeValue(attributeValue.asText());
attributeStatement.addAttribute(new AttributeStatementType.ASTChoiceType(attribute));
}
}
Expand Down

0 comments on commit 71d0b33

Please sign in to comment.