E.g. Let us say you have the following configuration in the file /path/to/cfg.xml:
<config> <client name="my-config"> <!-- lots of other stuff --> </client> </config>
You would need to put the following into your web.xml file:
<context-param> <param-name>oa4mp:oauth2.client.config.name</param-name> <param-value>my-config</param-value> </context-param>
<context-param> <param-name>oa4mp:oauth2.client.config.file</param-name> <param-value>/path/to/cfg.xml</param-value> </context-param>