coheigea commented on code in PR #944:
URL: https://github.com/apache/cxf/pull/944#discussion_r867801220


##########
rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java:
##########
@@ -1453,7 +1453,7 @@ protected void addClaims(XMLStreamWriter writer) throws 
Exception {
         if (claimsToSerialize instanceof Element) {
             StaxUtils.copy((Element)claimsToSerialize, writer);
         } else if (claimsToSerialize instanceof ClaimCollection) {
-            ClaimCollection claimCollection = (ClaimCollection)claims;
+            ClaimCollection claimCollection = 
(ClaimCollection)claimsToSerialize;

Review Comment:
   I'll add the test to the STS systests



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to