You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by GitBox <gi...@apache.org> on 2019/12/09 16:08:01 UTC

[GitHub] [ws-wss4j] CauchyPeano commented on a change in pull request #2: WSS-659 SecurityContextToken validator fixing QName

CauchyPeano commented on a change in pull request #2: WSS-659 SecurityContextToken validator fixing QName
URL: https://github.com/apache/ws-wss4j/pull/2#discussion_r355536798
 
 

 ##########
 File path: ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/processor/input/SecurityContextTokenInputHandler.java
 ##########
 @@ -56,7 +56,7 @@ public void handle(InputProcessorChain inputProcessorChain, final XMLSecurityPro
         }
 
         final QName elementName = new QName(securityContextTokenTypeJAXBElement.getName().getNamespaceURI(),
-                WSSConstants.TAG_WSC0502_IDENTIFIER.getLocalPart());
+                securityContextTokenTypeJAXBElement.getName().getLocalPart());
 
 Review comment:
   Yes, I see the problem. I just can't yet understand signature of `org.apache.wss4j.stax.validate.SecurityContextTokenValidator#validate` - what does identifier parameter do?
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org