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

 ##########
 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:
   The identifier is just a way of referring to a particular 
SecurityContextToken. No, you don't have to support two versions - all you need 
to do is to make sure that the security context token element is passed through 
to wssSecurityProperties.getValidator.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to