Skip to content

Commit

Permalink
Merge pull request #546 from sandushi/masking-pii-data
Browse files Browse the repository at this point in the history
  • Loading branch information
sandushi committed Mar 29, 2024
2 parents 525a7fd + a0363a6 commit f947e6c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,8 @@ private String resolveDomainName(String domainName, ExpressionNode node) throws
} catch (BadRequestException e) {
String errorMessage = String
.format("Domain parameter: %s in request does not match with the domain name in the attribute "
+ "value: %s ", domainName, node.getValue());
+ "value: %s ", domainName, (LoggerUtils.isLogMaskingEnable ?
LoggerUtils.getMaskedContent(node.getValue()) : node.getValue()));
throw new CharonException(errorMessage, e);
}
// Get domain name according to Filter Enhancements properties as in identity.xml
Expand Down

0 comments on commit f947e6c

Please sign in to comment.