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: [email protected] [mailto:[email protected]] 
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" <[email protected]>
To: "Kostas Stamatis" <[email protected]>
Cc: "dspace-tech" <[email protected]>
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" <[email protected]>
To: "ribin jones" <[email protected]>, "dspace-tech" 
<[email protected]>
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: [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


------------------------------------------------------------------------------
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

Reply via email to