cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/4] cxf git commit: Override policy algorithms for WS-SP 1.1 as well
Date Fri, 25 Sep 2015 10:47:59 GMT
Override policy algorithms for WS-SP 1.1 as well


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/8ff1dbb3
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/8ff1dbb3
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/8ff1dbb3

Branch: refs/heads/3.0.x-fixes
Commit: 8ff1dbb3e56e2da158b582a1690b3b1d622725f4
Parents: e943fc0
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Fri Sep 25 11:39:25 2015 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Fri Sep 25 11:44:50 2015 +0100

----------------------------------------------------------------------
 .../cxf/ws/security/wss4j/PolicyBasedWSS4JInInterceptor.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/8ff1dbb3/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/PolicyBasedWSS4JInInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/PolicyBasedWSS4JInInterceptor.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/PolicyBasedWSS4JInInterceptor.java
index 4f9cedd..27ac84b 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/PolicyBasedWSS4JInInterceptor.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/PolicyBasedWSS4JInInterceptor.java
@@ -658,7 +658,7 @@ public class PolicyBasedWSS4JInInterceptor extends WSS4JInInterceptor
{
                 (String)message.getContextualProperty(SecurityConstants.SYMMETRIC_SIGNATURE_ALGORITHM);
             if (asymSignatureAlgorithm != null || symSignatureAlgorithm != null) {
                 Collection<AssertionInfo> algorithmSuites = 
-                    aim.get(SP12Constants.ALGORITHM_SUITE);
+                    PolicyUtils.getAllAssertionsByLocalname(aim, SPConstants.ALGORITHM_SUITE);
                 if (algorithmSuites != null && !algorithmSuites.isEmpty()) {
                     for (AssertionInfo algorithmSuite : algorithmSuites) {
                         AlgorithmSuite algSuite = (AlgorithmSuite)algorithmSuite.getAssertion();


Mime
View raw message