Versions Compared

Key

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

...

  1. set environment variables
    Code Block
    export DBXML_HOME=/usr/local/dbxml-2.5.13
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${DBXML_HOME}/lib
    export DYLD_LIBRARY_PATH=${DBXML_HOME}/lib:$DYLD_LIBRARY_PATH
    
  2. Build and install melcoe-pdp 
    Code Block
    svn co http://www.muradora.org/svn/muradora-project/melcoe-pdp/trunk melcoe-pdp
    cd melcoe-pdp
    ant install
    ant load-policies
    cp dist/axis2.war $CATALINA_HOME/webapps/
    
  1. Start Tomcat, e.g.:
    Code Block
    $CATALINA_HOME/bin/startup.sh
    
    Sanity check: verify that http://localhost:8080/axis2/services/listServices lists the PolicyDataManagerService and PDP services.

The following services should now be available
MelcoePDP : http://localhost:8080/pdp/services/MelcoePDP
Available Operations

...

  • listPolicies
  • updatePolicy
  • deletePolicy
  • lastUpdate
  • addPolicy
  • getPolicy
  • findPolicies

...

fcrepo-security-pep

  1. Sanity check: verify that http://localhost:8080/fedora/search works for fedoraAdmin, but returns authorization denied for a valid, but non-adminstrator role (create one in $FEDORA_HOME/server/config/fedora-users.xml)
  2. Replace the $CATALINA_HOME/webapps/fedora/WEB-INF/web.xml with this version. This version has the melcoe-pep and fedora-jaas configuration already set. You will need to set the 'fedora.home' parameters though.

...

fcrepo-security-jaas

  1. Copy the config/jaas.conf file to Configure the $FEDORA_HOME/server/config.Configure the config/jaas.conf file.
  2. View the fedora-jaas documentation: FESL Authentication Module