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

Reply via email to