mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
08.06.2015 b8c6b80da1cb6118167a934daa480eb381c59e0e
opendj-server-legacy/src/main/java/org/opends/server/extensions/CryptPasswordStorageScheme.java
@@ -142,7 +142,9 @@
    finally
    {
      if (plaintextBytes != null)
      {
        Arrays.fill(plaintextBytes, (byte) 0);
      }
    }
    return ByteString.wrap(digestBytes);
@@ -204,7 +206,9 @@
    finally
    {
      if (plaintextBytes != null)
      {
        Arrays.fill(plaintextBytes, (byte) 0);
      }
    }
    return ByteString.valueOf(output);
  }
@@ -229,7 +233,9 @@
    finally
    {
      if (plaintextBytes != null)
      {
        Arrays.fill(plaintextBytes, (byte) 0);
      }
    }
    return ByteString.valueOf(output);
  }
@@ -302,7 +308,9 @@
    finally
    {
      if (plaintextPasswordBytes != null)
      {
        Arrays.fill(plaintextPasswordBytes, (byte) 0);
      }
    }
    return userPWDigestBytes.equals(storedPassword);
@@ -342,7 +350,9 @@
    finally
    {
      if (plaintextPasswordBytes != null)
      {
        Arrays.fill(plaintextPasswordBytes, (byte) 0);
      }
    }
  }
@@ -364,7 +374,9 @@
    finally
    {
      if (plaintextPasswordBytes != null)
      {
        Arrays.fill(plaintextPasswordBytes, (byte) 0);
      }
    }
  }