ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1166760 - /webservices/wss4j/trunk/src/main/java/org/apache/ws/security/message/WSSecDerivedKeyBase.java
Date Thu, 08 Sep 2011 15:41:34 GMT
Author: coheigea
Date: Thu Sep  8 15:41:33 2011
New Revision: 1166760

URL: http://svn.apache.org/viewvc?rev=1166760&view=rev
Log:
Set a derived key ValueType when pointing to a SecurityContextToken

Modified:
    webservices/wss4j/trunk/src/main/java/org/apache/ws/security/message/WSSecDerivedKeyBase.java

Modified: webservices/wss4j/trunk/src/main/java/org/apache/ws/security/message/WSSecDerivedKeyBase.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/main/java/org/apache/ws/security/message/WSSecDerivedKeyBase.java?rev=1166760&r1=1166759&r2=1166760&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/main/java/org/apache/ws/security/message/WSSecDerivedKeyBase.java
(original)
+++ webservices/wss4j/trunk/src/main/java/org/apache/ws/security/message/WSSecDerivedKeyBase.java
Thu Sep  8 15:41:33 2011
@@ -260,6 +260,8 @@ public abstract class WSSecDerivedKeyBas
                 } else if (KerberosSecurity.isKerberosToken(customValueType)) {
                     secRef.addTokenType(customValueType);
                     ref.setValueType(customValueType);
+                } else if (WSConstants.WSC_SCT.equals(customValueType)) {
+                    ref.setValueType(customValueType);
                 } else if (!WSConstants.WSS_USERNAME_TOKEN_VALUE_TYPE.equals(customValueType))
{
                     secRef.addTokenType(WSConstants.WSS_ENC_KEY_VALUE_TYPE);
                 } 



Mime
View raw message