Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Authentication is baked into the web.xml. In order disable it, you must either edit the web.xml to look like this example (TODO add link when PR approved), or instruct your container to load an alternate web.xml. The following describes how to load an alternate web.xml in Tomcat and Jetty.

...

Code Block
languagexml
titlefcrepo.xml
<Context altDDName="webapps/fcrepo/WEB-INF/no-auth-web.xml" />

Jetty

  1. Save a copy of the no-auth-web.xml (TODO insert link) to $JETTY_BASE/etc/fcrepo-no-auth-web.xml.
  2. Add an entry to your $JETTY_BASE/webapp/fcrepo.xml, instructing Jetty to load a different web.xml:

...