Always include password hashes in the package.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5303 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Mark Wood
2010-08-31 18:21:43 +00:00
parent e2d4cd31e4
commit 2ecedfa01a
2 changed files with 2 additions and 1 deletions

View File

@@ -949,7 +949,7 @@ public abstract class AbstractMETSDisseminator
// Add the stream to the list of non-content streams to be packed.
extraStreams.addStream(usersRef,
users.asStream(context, params.containsKey("passwords")));
users.asStream(context, true));
// Link the reference into the METS
TechMD techMd = new TechMD();

View File

@@ -121,6 +121,7 @@ public class RoleDisseminator implements PackageDisseminator
* Make serialized users and groups available on an InputStream, for code
* which wants to read one.
*
* @param emitPasswords true if password hashes should be included.
* @return the stream of XML representing users and groups.
* @throws IOException
* if a PipedOutputStream or PipedInputStream cannot be created.