Dear Ribin,
What you need to do is the following:
1) Go to file: {your_jspui_webapp_path}/WEB-INF/web.xml
2) Add the following lines (around line 73 - in the filter mapping section):
<filter-mapping>
<filter-name>admin-only</filter-name>
<url-pattern>/register</url-pattern>
</filter-mapping>
This tells DSpace that the /register URL will be protected and only admin
can have access.
3) Reload webapp
I guess that you might want to remove the link to the registration page as
well. For this:
1) Go to file: {your_jspui_webapp_path}/components/login-form.jsp
2) Comment out line 21 which prints the link to the register servlet
Best regards
Kostas
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, June 26, 2013 7:39 AM
To: dspace-tech
Subject: [Dspace-tech] Lock down user regn. in dspace jspui
Hi all,
We want a closed user-community for DSpace, where the DSpace admin will be
creating user accounts and distributing them to users.
So, under JSPUI, how does one lock down User Registration so that only the
admin can create user accounts?
Under XMLUI, it looks like there's the following configuration:
xmlui.user.registration false
However, I haven't found an equivalent configuration under JSPUI.
Please let me know how we can lock down user registration in jspui.
Thanks again for your time.
Ribin Jones S.B
----------------------------------------------------------------------------
--
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette