I use de authentication default of Dspace, so I hava to use the code from
line 108 to 135 ?

Regards,
Gustavo Daniel


2013/7/29 helix84 <[email protected]>

> On Mon, Jul 29, 2013 at 10:26 PM, Gustavo Daniel Soares Figueiredo
> <[email protected]> wrote:
> > I want to disable anonymous access to all DSpace pages completely unless
> > someone is logged in, how can i make it ?
>
> For that you will need to modify a sitemap, probably the one at
> [dspace]/webapps/xmlui/sitemap.xmap, to restrict access to all URL
> endpoints. Maybe just start with one particular URL and when you get
> that working, move on to all URLs.
>
> Here's an example sitemap that restricts access for a certain URL endpoint:
>
>
> https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/resources/aspects/StatisticsElasticSearch/sitemap.xmap
>
> SpecifiedGroupAuthenticatedSelector restricts access only to a
> specific group. Depending on which authentication method you use, you
> can configure it to put all users that can successfully authenticate
> into a "specialgroup".
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
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