You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2019/01/31 11:52:00 UTC

svn commit: r1852585 - /webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSecurityContextToken.java

Author: coheigea
Date: Thu Jan 31 11:52:00 2019
New Revision: 1852585

URL: http://svn.apache.org/viewvc?rev=1852585&view=rev
Log:
Removing unused secret from WSSecSecurityContextToken

Modified:
    webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSecurityContextToken.java

Modified: webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSecurityContextToken.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSecurityContextToken.java?rev=1852585&r1=1852584&r2=1852585&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSecurityContextToken.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSecurityContextToken.java Thu Jan 31 11:52:00 2019
@@ -51,11 +51,6 @@ public class WSSecSecurityContextToken {
      */
     private String identifier;
 
-    /**
-     * The symmetric secret associated with the SecurityContextToken
-     */
-    private byte[] secret;
-
     private int wscVersion = ConversationConstants.DEFAULT_VERSION;
     private WSSConfig wssConfig;
     private final WSSecHeader securityHeader;
@@ -116,20 +111,6 @@ public class WSSecSecurityContextToken {
     }
 
     /**
-     * @return Returns the ephemeralKey.
-     */
-    public byte[] getSecret() {
-        return secret;
-    }
-
-    /**
-     * @param ephemeralKey The ephemeralKey to set.
-     */
-    protected void setSecret(byte[] ephemeralKey) {
-        secret = ephemeralKey;
-    }
-
-    /**
      * @return Returns the identifier.
      */
     public String getIdentifier() {