cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1363394 - /cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/provider/DefaultSubjectProvider.java
Date Thu, 19 Jul 2012 15:51:43 GMT
Author: coheigea
Date: Thu Jul 19 15:51:43 2012
New Revision: 1363394

URL: http://svn.apache.org/viewvc?rev=1363394&view=rev
Log:
[CXF-4436] - EncryptionProperties.keyWrapAlgorithm is not used when issuing a Symmetric HOK
SAML Assertion

Modified:
    cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/provider/DefaultSubjectProvider.java

Modified: cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/provider/DefaultSubjectProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/provider/DefaultSubjectProvider.java?rev=1363394&r1=1363393&r2=1363394&view=diff
==============================================================================
--- cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/provider/DefaultSubjectProvider.java
(original)
+++ cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/provider/DefaultSubjectProvider.java
Thu Jul 19 15:51:43 2012
@@ -211,6 +211,7 @@ public class DefaultSubjectProvider impl
         encrKey.setEphemeralKey(secret);
         encrKey.setSymmetricEncAlgorithm(encryptionProperties.getEncryptionAlgorithm());
         encrKey.setUseThisCert(certificate);
+        encrKey.setKeyEncAlgo(encryptionProperties.getKeyWrapAlgorithm());
         encrKey.prepare(doc, encryptionCrypto);
         Element encryptedKeyElement = encrKey.getEncryptedKeyElement();
 



Mime
View raw message