You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by gi...@apache.org on 2013/07/20 15:53:43 UTC
svn commit: r1505133 -
/webservices/wss4j/trunk/ws-security-policy-stax/src/main/java/org/apache/wss4j/policy/stax/PolicyEnforcer.java
Author: giger
Date: Sat Jul 20 13:53:42 2013
New Revision: 1505133
URL: http://svn.apache.org/r1505133
Log:
minor naming correction
Modified:
webservices/wss4j/trunk/ws-security-policy-stax/src/main/java/org/apache/wss4j/policy/stax/PolicyEnforcer.java
Modified: webservices/wss4j/trunk/ws-security-policy-stax/src/main/java/org/apache/wss4j/policy/stax/PolicyEnforcer.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-policy-stax/src/main/java/org/apache/wss4j/policy/stax/PolicyEnforcer.java?rev=1505133&r1=1505132&r2=1505133&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-policy-stax/src/main/java/org/apache/wss4j/policy/stax/PolicyEnforcer.java (original)
+++ webservices/wss4j/trunk/ws-security-policy-stax/src/main/java/org/apache/wss4j/policy/stax/PolicyEnforcer.java Sat Jul 20 13:53:42 2013
@@ -339,15 +339,15 @@ public class PolicyEnforcer implements S
//9 WSS: SOAP Message Security Options [Signature Confirmation]
assertableList.add(new SignatureConfirmationAssertionState(wss11, true));
if (wss11.isRequireSignatureConfirmation()) {
- List<QName> timestampElementPath = new LinkedList<QName>();
- timestampElementPath.addAll(WSSConstants.WSSE_SECURITY_HEADER_PATH);
- timestampElementPath.add(WSSConstants.TAG_wsse11_SignatureConfirmation);
+ List<QName> signatureConfirmationElementPath = new LinkedList<QName>();
+ signatureConfirmationElementPath.addAll(WSSConstants.WSSE_SECURITY_HEADER_PATH);
+ signatureConfirmationElementPath.add(WSSConstants.TAG_wsse11_SignatureConfirmation);
RequiredElementsAssertionState requiredElementsAssertionState = new RequiredElementsAssertionState(wss11, false);
- requiredElementsAssertionState.addElement(timestampElementPath);
+ requiredElementsAssertionState.addElement(signatureConfirmationElementPath);
assertableList.add(requiredElementsAssertionState);
SignedElementsAssertionState signedElementsAssertionState = new SignedElementsAssertionState(wss11, true);
- signedElementsAssertionState.addElement(timestampElementPath);
+ signedElementsAssertionState.addElement(signatureConfirmationElementPath);
assertableList.add(signedElementsAssertionState);
}
}