Backward compatibility for User management 04/5404/1
authorSapan Shah <sapshah@cisco.com>
Wed, 19 Feb 2014 02:45:48 +0000 (18:45 -0800)
committerSapan Shah <sapshah@cisco.com>
Wed, 19 Feb 2014 02:45:48 +0000 (18:45 -0800)
Change-Id: I844d959852cd40fa242ac56b6efa36b2982e73ec
Signed-off-by: Sapan Shah <sapshah@cisco.com>
opendaylight/usermanager/api/src/main/java/org/opendaylight/controller/usermanager/UserConfig.java

index ea9e599d83c06ef9af96493935f7ebe53081ef97..958b15978cf648114597047198c07375a7133802 100644 (file)
@@ -137,7 +137,7 @@ public class UserConfig extends ConfigurationObject implements Serializable {
     }
 
     public byte[] getSalt() {
-        return salt.clone();
+        return (salt == null) ? null : salt.clone();
     }
 
     @Override