mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 22:13:08 +00:00
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:
@@ -949,7 +949,7 @@ public abstract class AbstractMETSDisseminator
|
|||||||
|
|
||||||
// Add the stream to the list of non-content streams to be packed.
|
// Add the stream to the list of non-content streams to be packed.
|
||||||
extraStreams.addStream(usersRef,
|
extraStreams.addStream(usersRef,
|
||||||
users.asStream(context, params.containsKey("passwords")));
|
users.asStream(context, true));
|
||||||
|
|
||||||
// Link the reference into the METS
|
// Link the reference into the METS
|
||||||
TechMD techMd = new TechMD();
|
TechMD techMd = new TechMD();
|
||||||
|
@@ -121,6 +121,7 @@ public class RoleDisseminator implements PackageDisseminator
|
|||||||
* Make serialized users and groups available on an InputStream, for code
|
* Make serialized users and groups available on an InputStream, for code
|
||||||
* which wants to read one.
|
* which wants to read one.
|
||||||
*
|
*
|
||||||
|
* @param emitPasswords true if password hashes should be included.
|
||||||
* @return the stream of XML representing users and groups.
|
* @return the stream of XML representing users and groups.
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
* if a PipedOutputStream or PipedInputStream cannot be created.
|
* if a PipedOutputStream or PipedInputStream cannot be created.
|
||||||
|
Reference in New Issue
Block a user