Redaction
Default behavior
ARender offers the possibility to hide content from any document thanks to the redaction feature.
To show the redaction buttons, add the below properties:
WEB-INF/classes/arender.properties
topPanel.obfuscate=true
topPanel.obfuscateZone=true
Warning
By default, only admin user can add Redaction on the document.
To test you need to:
- Connect as admin:
- Either empty ARender cookie,
- Or open a browser in private navigation.
- Open the following link: LIVE EXAMPLE
True redaction
In the previous example, the text below the Redactions is fetched and can be copied by any user.
If you need to use true redact, i.e. only fetch the text for authorized users, you need to:
- Activate the fetch of Redaction annotation before the image generation:
WEB-INF/classes/arender-server.properties
arender.server.process.annotations.rendition=true
- Implement the AuthenticationServiceProvider interface. Example available on GitHub