Commit 228de368 authored by Bikram Dhoju's avatar Bikram Dhoju
Browse files

new codes

parent 3636c17a
Apache License
Version 2.0, January 2004
https://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
Copyright 2013-2017 Docker, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Copyright (c) 2016 1science Devops Team <devops@1science.org>
Permission to use, copy, modify, and distribute this software for any
......
Copyright (c) 2016 1science Devops Team <devops@1science.org>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
## Docker Status by tag
[![](https://images.microbadger.com/badges/version/unixelias/docker-dspace.svg)](https://microbadger.com/images/unixelias/docker-dspace "Docker tag version") [![](https://images.microbadger.com/badges/image/unixelias/docker-dspace.svg)](https://microbadger.com/images/unixelias/docker-dspace "Content layers") [![](https://images.microbadger.com/badges/commit/unixelias/docker-dspace.svg)](https://microbadger.com/images/unixelias/docker-dspace "Last commit")
[![](https://images.microbadger.com/badges/version/unixelias/docker-dspace:5.6.svg)](https://microbadger.com/images/unixelias/docker-dspace:5.6 "Docker tag version") [![](https://images.microbadger.com/badges/image/unixelias/docker-dspace:5.6.svg)](https://microbadger.com/images/unixelias/docker-dspace:5.6 "Content layers") [![](https://images.microbadger.com/badges/commit/unixelias/docker-dspace:5.6.svg)](https://microbadger.com/images/unixelias/docker-dspace:5.6 "Last commit")
[![](https://images.microbadger.com/badges/version/unixelias/docker-dspace:dev.svg)](https://microbadger.com/images/unixelias/docker-dspace:dev "Docker tag version") [![](https://images.microbadger.com/badges/image/unixelias/docker-dspace:5.x-dev.svg)](https://microbadger.com/images/unixelias/docker-dspace:5.x-dev "Content layers") [![](https://images.microbadger.com/badges/commit/unixelias/docker-dspace:5.x-dev.svg)](https://microbadger.com/images/unixelias/docker-dspace:5.x-dev "Last commit")
[![](https://images.microbadger.com/badges/version/unixelias/docker-dspace:5.7-ibict.svg)](https://microbadger.com/images/unixelias/docker-dspace:5.7-ibict "Docker tag version") [![](https://images.microbadger.com/badges/image/unixelias/docker-dspace:5.7-ibict.svg)](https://microbadger.com/images/unixelias/docker-dspace:5.7-ibict "Content layers") [![](https://images.microbadger.com/badges/commit/unixelias/docker-dspace:5.7-ibict.svg)](https://microbadger.com/images/unixelias/docker-dspace:5.7-ibict "Last commit")
## Build Status
[![Build Status](https://travis-ci.org/unixelias/docker-dspace.svg?branch=master)](https://travis-ci.org/unixelias/docker-dspace)
# What is DSpace?
![logo](https://github.com/unixelias/docker-dspace/raw/master/logo.png)
[DSpace](https://wiki.duraspace.org/display/DSDOC6x/Introduction) is an open source repository software package typically used for creating open access repositories for scholarly and/or published digital content. While DSpace shares some feature overlap with content management systems and document management systems, the DSpace repository software serves a specific need as a digital archives system, focused on the long-term storage, access and preservation of digital content.
This image is based on official [Ubuntu image](https://hub.docker.com/_/ubuntu/) and use [Tomcat](http://tomcat.apache.org/) to run DSpace as defined in the [installation guide](https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace).
# Usage
DSpace use [PostgreSQL](http://www.postgresql.org/) as database.
[![](https://badge.imagelayers.io/1science/dspace:latest.svg)](https://imagelayers.io/?images=1science/dspace:latest 'Get your own badge on imagelayers.io')
# What is DSpace?
......@@ -16,6 +39,14 @@ We might use an external database or create a PostgreSQL container linked to the
## Postgres as a container
[![](https://images.microbadger.com/badges/image/unixelias/postgres-dspace:9.6-dev.svg)](https://microbadger.com/images/unixelias/postgres-dspace:9.6-dev "Get your own image badge on microbadger.com") [![](https://images.microbadger.com/badges/version/unixelias/postgres-dspace:9.6-dev.svg)](https://microbadger.com/images/unixelias/postgres-dspace:9.6-dev "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/commit/unixelias/postgres-dspace:9.6-dev.svg)](https://microbadger.com/images/unixelias/postgres-dspace:9.6-dev "Get your own commit badge on microbadger.com")
We have a custom [PostgreSQL Docker Image](https://hub.docker.com/r/unixelias/postgres-dspace/) used to change default locale of PostgreSQL to pt-BR. If you will use the default english language you may not need this, but it can be useful if you need a custom language. The source is avaliable at docker/postgres/Dockerfile
First, we have to create the PostgreSQL container:
```
docker run -d --name dspace_db -p 5432:5432 unixelias/postgres-dspace
First, we have to create the PostgreSQL container:
```
......@@ -25,6 +56,7 @@ docker run -d --name dspace_db -p 5432:5432 postgres
then run DSpace linking the PostgreSQL container:
```
docker run -d --link dspace_db:postgres -p 8080:8080 unixelias/docker-dspace
docker run -d --link dspace_db:postgres -p 8080:8080 1science/dspace
```
......@@ -36,7 +68,7 @@ docker run -d --link dspace_db:postgres \
-e POSTGRES_SCHEMA=my_dspace \
-e POSTGRES_USER=my_user \
-e POSTGRES_PASSWORD=my_password \
-p 8080:8080 1science/dspace
-p 8080:8080 unixelias/docker-dspace
```
We might also used the Docker compose project in the `sample` directory.
......@@ -44,16 +76,15 @@ We might also used the Docker compose project in the `sample` directory.
## External database
When you use an external Postgres, you have to set some environment variables :
- `POSTGRES_DB_HOST` (required): The server host name or ip.
- `POSTGRES_DB_PORT` (optional): The server port (`5432` by default)
- `POSTGRES_SCHEMA` (optional): The database schema (`dspace` by default)
- `POSTGRES_USER` (optional): The user used by DSpace (`dspace` by default)
- `POSTGRES_PASSWORD` (optional): The password of the user used by DSpace (`dspace` by default)
- `POSTGRES_ADMIN_USER` (optional): The admin user creating the Database and the user (`postgres` by default)
- `POSTGRES_ADMIN_PASSWORD` (optional): The password of the admin user
```
docker run -d \
-e POSTGRES_DB_HOST=my_host \
-e POSTGRES_ADMIN_USER=my_admin \
......@@ -61,9 +92,7 @@ docker run -d \
-e POSTGRES_SCHEMA=my_dspace \
-e POSTGRES_USER=my_user \
-e POSTGRES_PASSWORD=my_password \
-p 8080:8080 1science/dspace
```
-p 8080:8080 unixelias/docker-dspace
After few seconds DSpace should be accessible from:
......@@ -86,6 +115,9 @@ docker run -d --link dspace_db:postgres \
The command above only installed the webapps `jspui` `xmlui` and `rest`.
# Build
This project is configured as an [automated build in Dockerhub](https://hub.docker.com/r/unixelias/docker-dspace/).
# Build
......@@ -96,6 +128,7 @@ Each branch give the related image tag.
# License
All the code contained in this repository, unless explicitly stated, is
licensed under Apache License Version 2.0.
licensed under ISC license.
A copy of the license can be found inside the [LICENSE](LICENSE) file.
#!/bin/bash
shopt -s extglob
for i in $( ls docker); do
if [ "$i" == "postgres" ]; then
### Build DB
docker build -t unixelias/postgres-dspace:9.6-ptbr \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=`git rev-parse --short HEAD` docker/postgres \
&& docker push unixelias/postgres-dspace:9.6-ptbr
else
case "$i" in
*-test ) ;;
* ) docker build -t unixelias/docker-dspace:$i \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=`git rev-parse --short HEAD` docker/$i \
&& docker push unixelias/docker-dspace:$i ;;
esac
fi
done
docker tag unixelias/docker-dspace:6.0 unixelias/docker-dspace:latest && docker push unixelias/docker-dspace:latest
#
# # Build DB
# docker build -t unixelias/postgres-dspace:9.6-ptbr \
# --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
# --build-arg VCS_REF=`git rev-parse --short HEAD` docker/postgres \
# && docker push unixelias/postgres-dspace:9.6-ptbr
## Build DSpace
#
# docker build -t unixelias/docker-dspace:5.6-dev \
# --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
# --build-arg VCS_REF=`git rev-parse --short HEAD` docker/5.6 \
# && docker push unixelias/docker-dspace:5.6-dev
#
#
# docker build -t unixelias/docker-dspace:5.x-dev \
# --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
# --build-arg VCS_REF=`git rev-parse --short HEAD` docker/dev \
# && docker push unixelias/docker-dspace:5.x-dev
version: "2"
services:
postgres:
image: unixelias/postgres-dspace:9.6-ptbr
hostname: postgres
restart: always
volumes:
- db_data:/var/lib/postgresql/data
dspace:
image: unixelias/docker-dspace:dev
# If you wanto to change the configuration you can build again
# and add custom config files
#build: ./dspace
ports:
- 8080:8080
depends_on:
- postgres
environment:
- POSTGRES_DB_HOST=postgres
- POSTGRES_ADMIN_USER=postgres
- POSTGRES_ADMIN_PASSWORD=postgres
- POSTGRES_SCHEMA=dspace
- POSTGRES_USER=dspace
- POSTGRES_PASSWORD=password
command: start-dspace
volumes:
db_data:
# This Dockerfile is needed just to control the startup order
# see: https://docs.docker.com/compose/startup-order/
FROM unixelias/docker-dspace:dev
#Some configs for 6.0
COPY ./config/setenv.sh "$CATALINA_HOME"/bin
# COPY ./config/server.xml "$CATALINA_HOME"/conf
#
# COPY ./config/setup-postgres /dspace/bin
# COPY ./config/start-dspace /dspace/bin
# COPY ./config/local.cfg.UTF-8 /dspace/config
#
# RUN rm /dspace/config/local.cfg \
# && iconv -f UTF-8 -t ISO-8859-1 /dspace/config/local.cfg.UTF-8 > /dspace/config/local.cfg \
# && cat /dspace/config/local.cfg
# && locale-gen pt en es \
#&& unlink /etc/localtime \
#&& ln -s /usr/share/zoneinfo/Brazil/East /etc/localtime
# #EXPOSE 8080
# ENV DSPACE_HOME=/dspace
# WORKDIR /dspace
CMD ["start-dspace"]
# EXAMPLE "local.cfg" for DSpace.
#
# Any configurations added to this file will automatically OVERRIDE configurations
# of the same name in any of the DSpace *.cfg files. This includes overriding
# settings in any of these files:
# * [dspace]/config/dspace.cfg
# * Or any configuration file that is included in 'dspace.cfg'
# (See "include = [filepath]" settings near the end of dspace.cfg.
# By default, it includes all [dspace]/config/modules/*.cfg files)
#
# By default, this EXAMPLE file includes a number of commonly overridden configurations.
# * ADD configurations by simply copying them into this file from any existing *.cfg file.
# * REMOVE configurations by simply commenting them out or deleting them below.
#
# Any commented out settings in this file are simply ignored. A configuration
# will only override another configuration if it has the EXACT SAME key/name.
# For example, including "dspace.dir" in this local.cfg will override the
# default value of "dspace.dir" in the dspace.cfg file.
# Similarly, including "oai.solr.url" in this local.cfg will override the
# default value of "oai.solr.url" in the modules/oai.cfg file.
#
##########################
# SERVER CONFIGURATION #
##########################
# DSpace installation directory.
# This is the location where you want to install DSpace.
# Windows note: Please remember to use forward slashes for all paths (e.g. C:/dspace)
dspace.dir=/dspace
# DSpace host name - should match base URL. Do not include port number
dspace.hostname = localhost
# DSpace base host URL. Include port number etc.
dspace.baseUrl = http://localhost:8080
# The user interface you will be using for DSpace. Common usage is either xmlui or jspui
####################################################
# Changed #
dspace.ui = jspui
# Full link your end users will use to access DSpace. In most cases, this will be the baseurl followed by
# the context path to the UI you are using.
#
# Alternatively, you can use a url redirect or deploy the web application under the servlet container root.
# In this case, make sure to remove the /${dspace.ui} from the dspace.url property.
#dspace.url = ${dspace.baseUrl}/${dspace.ui}
####################################################
# Changed #
# This overrides the default value of "dspace.baseUrl" in dspace.cfg
#dspace.baseUrl = http://acervo.ufvjm.edu.br
# The overrides the default "dspace.url" setting it to the same value as my "baseUrl" above
#dspace.url = ${dspace.baseUrl}
# Name of the site
####################################################
# Changed #
dspace.name = Repositório Institucional - R.I. UFVJM
# assetstore.dir, look at DSPACE/config/spring/api/bitstore.xml for more options
# default is ${dspace.dir}/assetstore, uncomment and modify if you need to use a different path
#assetstore.dir = ${dspace.dir}/assetstore
assetstore.dir = ${dspace.dir}/assetstore
# Default language for metadata values
####################################################
# Change defaulto to Brazilian PT #
default.language = pt_BR
# Solr server/webapp.
# DSpace uses Solr for all search/browse capability (and for usage statistics by default).
# The included 'solr' webapp MUST be deployed to Tomcat for DSpace to function.
# Usually it will be available via port 8080 and the 'solr' context path. But,
# But, you may need to modify this if you are running DSpace on a custom port, etc.
solr.server = http://localhost:8080/solr
##########################
# DATABASE CONFIGURATION #
##########################
# DSpace only supports two database types: PostgreSQL or Oracle
# URL for connecting to database
# * Postgres template: jdbc:postgresql://localhost:5432/dspace
# * Oracle template: jdbc:oracle:thin:@//localhost:1521/xe
####################################################
# Change defaulto to work in docker-compose #
db.url = jdbc:postgresql://postgres:5432/dspace
# JDBC Driver
# * For Postgres: org.postgresql.Driver
# * For Oracle: oracle.jdbc.OracleDriver
db.driver = org.postgresql.Driver
# Database Dialect (for Hibernate)
# * For Postgres: org.dspace.storage.rdbms.hibernate.postgres.DSpacePostgreSQL82Dialect
# * For Oracle: org.hibernate.dialect.Oracle10gDialect
db.dialect = org.dspace.storage.rdbms.hibernate.postgres.DSpacePostgreSQL82Dialect
# Database username and password
db.username = dspace
db.password = dspace
# Database Schema name
# * For Postgres, this is often "public" (default schema)
# * For Oracle, schema is equivalent to the username of your database account,
# so this may be set to ${db.username} in most scenarios.
db.schema = public
## Connection pool parameters
# Maximum number of DB connections in pool (default = 30)
#db.maxconnections = 30
# Maximum time to wait before giving up if all connections in pool are busy (milliseconds)
# (default = 5000ms or 5 seconds)
#db.maxwait = 5000
# Maximum number of idle connections in pool (-1 = unlimited)
# (default = 10)
#db.maxidle = 10
#######################
# EMAIL CONFIGURATION #
#######################
# SMTP mail server (allows DSpace to send email notifications)
#mail.server = smtp.example.com
# SMTP mail server authentication username and password (if required)
#mail.server.username = myusername
#mail.server.password = mypassword
# SMTP mail server alternate port (defaults to 25)
#mail.server.port = 25
# From address for mail
# All mail from the DSpace site will use this 'from' address
#mail.from.address = dspace-noreply@myu.edu
# When feedback is submitted via the Feedback form, it is sent to this address
# Currently limited to one recipient!
#feedback.recipient = dspace-help@myu.edu
# General site administration (Webmaster) e-mail
#mail.admin = dspace-help@myu.edu
# Recipient for server errors and alerts (defaults to mail.admin)
#alert.recipient = ${mail.admin}
# Recipient for new user registration emails (defaults to unspecified)
#registration.notify =
########################
# HANDLE CONFIGURATION #
########################
#
# Canonical Handle URL prefix
#
# Items in DSpace receive a unique URL, stored in dc.identifier.uri
# after it is generated during the submission process.
#
# If you register with CNRI's handle service at http://www.handle.net/,
# these links can be generated as permalinks using http://hdl.handle.net/
# as canonical prefix. Please make sure to change handle.canonical.prefix
# after registering with handle.net by uncommenting one of the following
# lines, depending if you prefer to use http or https:
# handle.canonical.prefix = http://hdl.handle.net/
# handle.canonical.prefix = https://hdl.handle.net/
#
# Note that this will not alter dc.identifer.uri metadata for existing
# items (only for subsequent submissions), but it will alter the URL
# in JSPUI's 'identifier' message on item record pages for existing items.
# CNRI Handle prefix
# (Defaults to a dummy/fake prefix of 123456789)
#handle.prefix = 123456789
#######################
# PROXY CONFIGURATION #
#######################
# uncomment and specify both properties if proxy server required
# proxy server for external http requests - use regular hostname without port number
#http.proxy.host =
# port number of proxy server
#http.proxy.port =
##########################
# AUTHENTICATION METHODS #
##########################
# EXAMPLE OVERRIDE:
# Override the default authentication method(s) defined in authentication.cfg
# by defining your own custom ordered list in this local.cfg.
#
# By default, all of these methods are commented out and DSpace will use the
# settings from authentication.cfg. But you may uncomment whichever plugins you
# need in order to change the default settings (or reorder them below).
#
# You may also copy default settings from the corresponding authentication-*.cfg
# configuration file and override them in this local.cfg.
# IP-based authentication/authorization. See authentication-ip.cfg for default configuration.
#plugin.sequence.org.dspace.authenticate.AuthenticationMethod = org.dspace.authenticate.IPAuthentication
# LDAP authentication/authorization. See authentication-ldap.cfg for default configuration.
#plugin.sequence.org.dspace.authenticate.AuthenticationMethod = org.dspace.authenticate.LDAPAuthentication
# Shibboleth authentication/authorization. See authentication-shibboleth.cfg for default configuration.
#plugin.sequence.org.dspace.authenticate.AuthenticationMethod = org.dspace.authenticate.ShibAuthentication
# X.509 certificate authentication. See authentication-x509.cfg for default configuration.
#plugin.sequence.org.dspace.authenticate.AuthenticationMethod = org.dspace.authenticate.X509Authentication