Thanks... Could you please guide me in installing the requestcopy add on in my dspace? I have downloaded it, but I am a bit confused where to put the source files and everything..
Thanks, Ribin ----- Original Message ----- From: "Kostas Stamatis" <kstama...@ekt.gr> To: "ribin jones" <ribin.jo...@niist.res.in> Cc: dspace-tech@lists.sourceforge.net Sent: Wednesday, 26 June, 2013 2:00:01 PM Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui According to this: https://svn.duraspace.org/dspace/sandbox/authority-control-1_6-prototype/dspace/CHANGES I think you have the 1.5.2 version. As I have already told you, I do not think that IP restrictions apply to this version... Kostas -----Original Message----- From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] Sent: Wednesday, June 26, 2013 11:12 AM To: Kostas Stamatis Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui I see these in that file: (Graham Triggs) - Fixes for critical bugs identified by Findbugs (Mark Diggory) - [DS-100] XMLUI OpenURL support contributed by the National Evolutionary Synthesis Center (NESCent) and @mire. - [DS-93] Upgrade XMLUI to Cocoon 2.2 . . . . . . (Larry Stone) - SF Patch [2621423] Add method to instrument Context's cache usage (Bruc Liong / Xiang Kevin Li / Stuart Hicks) - [DS-48] shibboleth+dspace1.5.1 patch - ID: 2412723 1.5.1 final =========== (Scott Philips) - (Scott Phillips) Fixed bug where users could not finish registering nor reset their password because the authentication method signatures were changed. - Jay Paz (SF#1898241) Additional fixes to patch to enable reuse of methods. So, I guess it is 1.5.2, right? Ribin Jones S.B ----- Original Message ----- From: "Kostas Stamatis" <kstama...@ekt.gr> To: "ribin jones" <ribin.jo...@niist.res.in> Cc: "dspace-tech" <dspace-tech@lists.sourceforge.net> Sent: Wednesday, 26 June, 2013 1:17:24 PM Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui Well, two options: 1) The version is part of the meta information of a page, in the form: <meta name="Generator" content="DSpace [Version]" />. Thus, in a DSpace page, open the source code ("ctrl u" in most browsers or right click > show source code) and search for the aforementioned meta info. 2) In older DSpace installations, no meta can be found there. Thus, the only hint is in the {dspace-sources}/CHANGES file, where all the versions and their changes are listed. Kostas -----Original Message----- From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] Sent: Wednesday, June 26, 2013 9:59 AM To: Kostas Stamatis Cc: dspace-tech Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui Where can I find which version am I running? Ribin Jones S.B ----- Original Message ----- From: "Kostas Stamatis" <kstama...@ekt.gr> To: "ribin jones" <ribin.jo...@niist.res.in> Cc: "dspace-tech" <dspace-tech@lists.sourceforge.net> Sent: Wednesday, 26 June, 2013 12:25:09 PM Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui What is the version of your DSpace installation? IP-authentication was added in version 1.8.0 of DSpace. I guess that if you have an older version, IP restriction is not possible. Kostas -----Original Message----- From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] Sent: Wednesday, June 26, 2013 9:50 AM To: Kostas Stamatis Cc: dspace-tech Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui In point number 2 of the mentioned thread it says "2) edit [dspace]/config/modules/authentication-ip.cfg and for each group add, for example:" But my installation doesn't have such a file of nor a folder like modules inside config. Thanks, Ribin Jones S.B ----- Original Message ----- From: "Kostas Stamatis" <kstama...@ekt.gr> To: "ribin jones" <ribin.jo...@niist.res.in> Cc: "dspace-tech" <dspace-tech@lists.sourceforge.net> Sent: Wednesday, 26 June, 2013 12:05:34 PM Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui 1) The first page can be found in the following path: "{your_jspui_webapp_path}/home.jsp". However, if you want to edit the very top message you need to do it in the file "{your_dspace_install_path}/config/news-top.html" and if you want to edit the text in the right sidebar you need to do it in the file "{your_dspace_install_path}/config/news-side.html" 2) Take a look on this older thread: http://sourceforge.net/mailarchive/message.php?msg_id=29268918 Regards, Kostas -----Original Message----- From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] Sent: Wednesday, June 26, 2013 9:20 AM To: Kostas Stamatis Cc: dspace-tech Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui Yea...got it working now... Thanks... Got couple more requirements: 1. Need to edit the home page text (text like below in the home page need to be edited): "DSpace is Live Welcome to our digital repository of My University research! More exciting news to appear here." Which file need to be edited for this? 2. Need to have access restriction for jspui. The journals and articles in dspace should be accessible without asking for a username/pwd if accessed from within our campus network. Ribin Jones S.B ----- Original Message ----- From: "Kostas Stamatis" <kstama...@ekt.gr> To: "ribin jones" <ribin.jo...@niist.res.in> Cc: "dspace-tech" <dspace-tech@lists.sourceforge.net> Sent: Wednesday, 26 June, 2013 11:41:08 AM Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui That's not true... feedback link should not normally take you to the user login page. This is happening in your installation because the "dspace.hostname" option in the configuration file (dspace.cfg) is not set properly. It should match the real hostname that you use to access your DSpace. Otherwise, DSpace thinks this as an attack and redirects you to login page. Try to set the dspace.hostname appropriately, reload webapp and test again. Regards, Kostas -----Original Message----- From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] Sent: Wednesday, June 26, 2013 9:04 AM To: Kostas Stamatis Cc: dspace-tech Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui The "feedback" link will take us to the user login page which is now irrelevant. Ribin Jones S.B Scientist IT LAB, Knowledge Resource Centre CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), Govt. of India Pappanamcode, Thiruvananthapuram - 695019 Kerala, India www.niist.res.in Mob: +91 9895226242 ----- Original Message ----- From: "Kostas Stamatis" <kstama...@ekt.gr> To: "ribin jones" <ribin.jo...@niist.res.in> Cc: "dspace-tech" <dspace-tech@lists.sourceforge.net> Sent: Wednesday, 26 June, 2013 11:30:35 AM Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui I guess that the outside users can contact admin via the feedback form http://{your_hostname}/dspace/feedback - a link that appears in the footer of your DSpace webpages. You have to set the feedback recipient from the dspace config file ({your_dspace_install_path}/config/dspace.cfg) and the "feedback.recipient" option. Regards, Kostas -----Original Message----- From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] Sent: Wednesday, June 26, 2013 8:21 AM To: Kostas Stamatis Cc: dspace-tech Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui Hi, I commented out the below line and it worked: <p><strong><a href="<%= request.getContextPath() %>/register"><fmt:message key="jsp.components.login-form.newuser"/></a></strong></p> This was actually line no. 52 for me. Now, what can be done so that a user can contact the dspace admin? Ribin Jones S.B ----- Original Message ----- From: "ribin jones" <ribin.jo...@niist.res.in> To: "Kostas Stamatis" <kstama...@ekt.gr> Cc: "dspace-tech" <dspace-tech@lists.sourceforge.net> Sent: Wednesday, 26 June, 2013 10:42:37 AM Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui Hi, My /home/dspace/webapps/jspui/components/login-form.jsp file has 74 lines of which 21st line is already commented out which is a part of copyright instructions. One more thing I need is that new users need not be registered..meanwhile outside users should have a provision to contact the Dspace admin. Ribin Jones S.B ----- Original Message ----- From: "Kostas Stamatis" <kstama...@ekt.gr> To: "ribin jones" <ribin.jo...@niist.res.in>, "dspace-tech" <dspace-tech@lists.sourceforge.net> Sent: Wednesday, 26 June, 2013 10:27:43 AM Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui 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: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 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 DSpace-tech@lists.sourceforge.net 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 DSpace-tech@lists.sourceforge.net 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette