...
- Open your Spring configuration file.
- Remove any beans that are instances of
org.fcrepo.auth.common.ShiroAuthenticationProvider
. - Remove the
depends-on
attribute from themodeshapeRepofactory
bean, if there is one.
- Remove any beans that are instances of
- Open your web.xml file.
- Remove all occurences of "shiroFilter" (<filter> and <filter-mapping>)
- Comment out <security-constraint> and <login-config> sections
- Open your Modeshape repository configuration file (repository.json).
- Under security, configure the
BypassSecurityServletAuthenticationProvider
, as shown in the example below.
- Under security, configure the
Code Block | ||||
---|---|---|---|---|
| ||||
"security" : { "anonymous" : { "roles" : ["readonly","readwrite","admin"], "useOnFailedLogin" : false }, "providers" : [ { "classname" : "org.fcrepo.auth.commonscommon.BypassSecurityServletAuthenticationProvider" } ] }, |
...