Versions Compared

Key

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

...

Code Block
-Dfcrepo.minter.config=file:///path/to/minter.xml -Dfcrepo.minter.username=minterUser -Dfcrepo.minter.password=minterPass

Example minter.xml:

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:c="http://www.springframework.org/schema/c"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">

    <bean class="org.fcrepo.kernel.identifiers.HttpPidMinter"
        c:url="http://localhost/my/minter" c:method="POST"
        c:username="${fcrepo.minter.username:minterUsername}" c
        c:password="${fcrepo.minter.password:minterPassword}"
        c:regex="" c:xpath="/response/ids/value"/>

</beans>

...