Fork me on GitHub

Installation

Configure the private keys for the signature in the file directory-rest.xml :

<filters>
	<filter>
		<filter-name>DirectoryRestSecurity</filter-name>
		<url-pattern>/rest/directory/*</url-pattern>
		<filter-class>fr.paris.lutece.util.signrequest.servlet.HeaderHashRequestFilter</filter-class>

		<init-param>
			<param-name>elementsSignature</param-name>
			<param-value></param-value>
		</init-param>

		<init-param>
			<param-name>validityTimePeriod</param-name>
			<param-value>0</param-value>
		</init-param>

		<init-param>
			<param-name>privateKey</param-name>
			<param-value>change me</param-value>
		</init-param>
	</filter>
</filters>