Author: coheigea
Date: Wed Nov 20 11:12:51 2013
New Revision: 1543774

URL: http://svn.apache.org/r1543774
Log:
Make Derived Principal Serializable

Modified:
    
webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSDerivedKeyTokenPrincipal.java

Modified: 
webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSDerivedKeyTokenPrincipal.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSDerivedKeyTokenPrincipal.java?rev=1543774&r1=1543773&r2=1543774&view=diff
==============================================================================
--- 
webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSDerivedKeyTokenPrincipal.java
 (original)
+++ 
webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSDerivedKeyTokenPrincipal.java
 Wed Nov 20 11:12:51 2013
@@ -27,8 +27,10 @@ import java.security.Principal;
  * The principal's name will be the <code>wsu:Id</code> value of the 
  * <code>DerivedKeyToken</code>
  */
-public class WSDerivedKeyTokenPrincipal implements Principal {
+public class WSDerivedKeyTokenPrincipal implements java.io.Serializable, 
Principal {
 
+    private static final long serialVersionUID = -8576876885462234466L;
+    
     private String algorithm;
     private String id;
     private String nonce;


Reply via email to