Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Migrating Binary Files

Jim Campbell edited this page Aug 17, 2018 · 14 revisions

Migrating Binary Files

Turn off Fedora authentication by changing the authentication provider in /etc/fcrepo/repository.json

change: { "classname" : "org.fcrepo.auth.common.ServletContainerAuthenticationProvider" }

to: { "classname" : "org.fcrepo.auth.common.BypassSecurityServletAuthenticationProvider" }


Turn off Tomcat authentication by commenting out the security constraint in /var/lib/tomcat/webapps/SStestFedora/WEB-INF/web.xml

    <!-- 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>

-->

Clone this wiki locally