Shawn,

I think modules/additions/src/main/java is the best place to put it.

Terry

On Wed, Aug 14, 2019 at 6:10 AM Shawn Kiewel <smkie...@gmail.com> wrote:

> Followup: reading the Advanced Customization page leads me to think I
> should place that file in [dspace-source]/dspace/modules/additions. Is this
> correct?
>
>
>
> Thanks again for all the help.
>
> Shawn
>
>
>
>
>
> *From: *Terry Brady <terry.br...@georgetown.edu>
> *Date: *Tuesday, August 13, 2019 at 5:40 PM
> *To: *Shawn Kiewel <smkie...@gmail.com>, DSpace Technical Support <
> dspace-tech@googlegroups.com>
> *Subject: *Re: [dspace-tech] Custom EmbargoSetter allowing on campus
> access
>
>
>
> I meant to include this link.
>
>
>
>
> https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/authentication-ip.cfg
>
>
>
>
> On Tue, Aug 13, 2019 at 2:39 PM Terry Brady <terry.br...@georgetown.edu>
> wrote:
>
> Shawn,
>
>
>
> Have you configured ip authentication for your site?  The IP
> authentication will place a user session within a specific named "special
> group".
>
>
>
> You could follow the example that you linked to but change the name of the
> group to the "special group" that you configure in the ip authentication
> config.
>
>
>
> Terry
>
>
>
> On Tue, Aug 13, 2019 at 12:31 PM Shawn Kiewel <smkie...@gmail.com> wrote:
>
> Does anyone have a custom EmbargoSetter class I could peek at that allows
> for access from campus IPs while enforcing the embargo for the world? I did
> look at this example
> <https://gist.github.com/terrywbrady/4e62fad6295d479aab78c905252acb86>,
> but it uses groups to do its filtering, and I'm not sure how to adapt it.
>
>
>
> Thanks,
>
> Shawn
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/8748ffae-215c-47d6-af34-fef0eae6d1b7%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/8748ffae-215c-47d6-af34-fef0eae6d1b7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>
>
> --
>
> Terry Brady
>
> Applications Programmer Analyst
>
> Georgetown University Library Information Technology
>
> https://github.com/terrywbrady/info
>
> 425-298-5498 (Seattle, WA)
>
>
>
>
> --
>
> Terry Brady
>
> Applications Programmer Analyst
>
> Georgetown University Library Information Technology
>
> https://github.com/terrywbrady/info
>
> 425-298-5498 (Seattle, WA)
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/B110A63A-0040-4760-8A01-F7B3648FCDEC%40gmail.com
> <https://groups.google.com/d/msgid/dspace-tech/B110A63A-0040-4760-8A01-F7B3648FCDEC%40gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAMp2YEwEJXmYeArzarmJy2GsO28sRiSZqbiH1ju875H1FAVdLQ%40mail.gmail.com.

Reply via email to