...
Code Block |
---|
cp fcrepo-drupalauthfilter-3.4.2.jar $FEDORA_HOME/tomcat/webapps/fedora/WEB-INF/lib |
2. Make the Fedora Repository Aware of the New Filter
...
Create the file filter-drupal.xml in $FEDORA_HOME/server/config using the following text as a template (or download a sample file from httphttps://raw.github.com/Islandora/islandora_drupal_filter/6.xmaster/filter-drupal.xml), then modify the attributes of the <connection> tag to match the server, port, database name, username and password of your site's Drupal database.
...
5. Test the Drupal Servlet Filter
Access your Fedora Admin client (http://your.site:8080/fedora/admin) using your Drupal login credentials (the username and password you would use to log into your Drpual site as a user).
...
In the Fedora log in, you will need to offer the MD5 hash of your Drupal user's password (rather than the plaintext password). You can use the following Linux command to get this MD5 hash:
Unlike Islandora 6, Islandora 7 will test your Fedora connection for you. To verify that the servlet filter is working properly, go to the Islandora configuration page (admin/islandora/configure) and look for the green checkmark. A successful installation will look like this:
Image Added
An unsuccessful installation will look like this:
Image Added
If you see this error, there are two possible sources for the failure:
- You do not have the correct fcrepo-
drupalauthfilter
-xxxx.jar - Your filter-drupal.xml is incorrect or missing
...
Note |
---|
The islandora_drupal_filter passes the username of 'anonymous' through to Fedora for unauthenticated Drupal Users. A user with the name of 'anonymous'may have XACML policies applied to them that are meant to be applied to Drupal users that are not logged in or vice-versa. This is a potential security issue that can be plugged by creating a user named 'anonymous' and restricting access to the account. |