Fork me on GitHub

Installation

Configure the URL of the webapp that contains CRM in the file crmclient.properties :

    crmclient.crm.rest.webapp.url=http://localhost:8080/lutece

Configure the private keys for the signature in the file crmclient_context.xml :

<bean id="crmclient.hashService" class="fr.paris.lutece.util.signrequest.security.Sha1HashService" />
<bean id="crmclient.requestAuthenticator" class="fr.paris.lutece.util.signrequest.HeaderHashAuthenticator" >
	<property name="hashService" ref="crmclient.hashService" />
	<property name="signatureElements" ref="crmclient.signatureElements" />
	<property name="privateKey">
		<value>change me</value>
	</property>
</bean>