EPR Access Token Provider a Dummy rest service providing Token for IUA transactions used in EPR context. This tool is used to generate an IUA token in order to perform FHIR based tests between participants.
No database is needed for this tool.
EPR Access Token Provider runs on a Wildfly 18 server.
If your do not have yet a Wildfly 18 server, you can install one using the instructions to install Wildfly 18 page.
You are now ready to deploy the tool and to start the Jboss server:
## Audience
Audience used by the tool are configured in a .properties file. It needs to be configured in the Wildfly server under JNDI name java:/app/gazelle/audience-retriever/operational-preferences. The file content shall resemble something like :
audience1=secret1
audience2=secret2
To be able to access the file from the application you need to :
<subsystem xmlns="urn:jboss:domain:naming:2.0">
<bindings>
<object-factory name="java:/app/gazelle/audience-retriever/operational-preferences" module="net.ihe.gazelle.factories" class="net.ihe.gazelle.factories.PropertiesFactory">
<environment>
<property name="path" value="{path}/audience.properties"/>
</environment>
</object-factory>
</bindings>
<remote-naming/>
</subsystem>
{path} can be any path you want on your file system.