forked from projectblacklight/blacklight-jetty
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fedora4 support and other fixes to the hydra-jetty application
- Loading branch information
Showing
795 changed files
with
202 additions
and
107,835 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd"> | ||
<Configure class="org.eclipse.jetty.webapp.WebAppContext"> | ||
<Set name="contextPath">/fedora-test</Set> | ||
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/fedora.war</Set> | ||
<Call name="setInitParameter"> | ||
<Arg>fedora.home</Arg> | ||
<Arg><SystemProperty name="jetty.home" default="."/>/fedora/test</Arg> | ||
</Call> | ||
<Set name="contextPath">/</Set> | ||
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/dashboard</Set> | ||
</Configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<web-app xmlns="http://java.sun.com/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" | ||
version="3.0"> | ||
|
||
<display-name>Fedora 4</display-name> | ||
|
||
<context-param> | ||
<param-name>contextConfigLocation</param-name> | ||
<param-value>WEB-INF/classes/spring/master.xml</param-value> | ||
</context-param> | ||
|
||
<listener> | ||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | ||
</listener> | ||
|
||
<servlet> | ||
<servlet-name>jersey-servlet</servlet-name> | ||
<servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class> | ||
|
||
<init-param> | ||
<param-name>javax.ws.rs.Application</param-name> | ||
<param-value>org.fcrepo.http.commons.FedoraApplication</param-value> | ||
</init-param> | ||
|
||
<load-on-startup>1</load-on-startup> | ||
<async-supported>true</async-supported> | ||
</servlet> | ||
|
||
<servlet-mapping> | ||
<servlet-name>jersey-servlet</servlet-name> | ||
<url-pattern>/rest/*</url-pattern> | ||
|
||
</servlet-mapping> | ||
|
||
<!--Uncomment section below to enable Basic-Authentication--> | ||
<!-- | ||
<security-constraint> | ||
<web-resource-collection> | ||
<web-resource-name>Fedora4</web-resource-name> | ||
<url-pattern>/*</url-pattern> | ||
<http-method>DELETE</http-method> | ||
<http-method>PUT</http-method> | ||
<http-method>HEAD</http-method> | ||
<http-method>OPTIONS</http-method> | ||
<http-method>PATCH</http-method> | ||
<http-method>GET</http-method> | ||
<http-method>POST</http-method> | ||
</web-resource-collection> | ||
<auth-constraint> | ||
<role-name>fedoraUser</role-name> | ||
<role-name>fedoraAdmin</role-name> | ||
</auth-constraint> | ||
<user-data-constraint> | ||
<transport-guarantee>NONE</transport-guarantee> | ||
</user-data-constraint> | ||
</security-constraint> | ||
<login-config> | ||
<auth-method>BASIC</auth-method> | ||
<realm-name>fcrepo</realm-name> | ||
</login-config> | ||
--> | ||
|
||
|
||
</web-app> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.