ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1547075 - in /webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal: WSDerivedKeyTokenPrincipal.java WSUsernameTokenPrincipalImpl.java
Date Mon, 02 Dec 2013 16:03:32 GMT
Author: coheigea
Date: Mon Dec  2 16:03:32 2013
New Revision: 1547075

URL: http://svn.apache.org/r1547075
Log:
Don't serialize passwords etc.

Modified:
    webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSDerivedKeyTokenPrincipal.java
    webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSUsernameTokenPrincipalImpl.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=1547075&r1=1547074&r2=1547075&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
Mon Dec  2 16:03:32 2013
@@ -38,7 +38,7 @@ public class WSDerivedKeyTokenPrincipal 
     private int length;
     private int offset;
     private String basetokenId;
-    private byte[] secret;
+    private transient byte[] secret;
 
     public WSDerivedKeyTokenPrincipal(String id) {
         this.id = id;

Modified: webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSUsernameTokenPrincipalImpl.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSUsernameTokenPrincipalImpl.java?rev=1547075&r1=1547074&r2=1547075&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSUsernameTokenPrincipalImpl.java
(original)
+++ webservices/wss4j/trunk/ws-security-common/src/main/java/org/apache/wss4j/common/principal/WSUsernameTokenPrincipalImpl.java
Mon Dec  2 16:03:32 2013
@@ -48,7 +48,7 @@ public class WSUsernameTokenPrincipalImp
     private static final long serialVersionUID = 5608648208455259722L;
     private String name;
     private byte[] nonce;
-    private String password;
+    private transient String password;
     private String createdTime;
     private String passwordType;
     private boolean digest = false;



Mime
View raw message