This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Creating a SlingPostServlet post processor

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

In order to create a post processor to the SlingPostServlet (will be systematically called after POST is processed in transient space, before save is done):

  • create a service implementing org.apache.sling.servlets.post.SlingPostProcessor
  • implement the post processing in process(SlingHttpServletRequest request, List<Modification> changes) 

Note that :

  • service.ranking property can be specified to order the post processor among the others
  • every change done to the repository should be added to List changes