You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Version warning

Content of this page applies to Apache Syncope >= 1.1.X
Not your version? Check the old page.

Introduction

A synchronization action class is a Java class that implements some specific actions to be performed before and after synchronization.

Implementation

A synchronization action class is a Java implementation of the SyncActions interface.

If a Synchronization Actions Class has been specified for a certain Synchronization Task, SyncActions's implemented methods will be executed during synchronization:

  • beforeAll(...) will be executed before to start synchronization;
  • beforeCreate(...) will be executed before each local create of a new user retrieved during synchronization;
  • beforeUpdate(...) will be executed before each local update of an existing user retrieved during synchronization;
  • beforeDelete(...) will be executed before each local delete of a user removed from synchronized external resource;
  • after(...) will be executed after each single user synchronization;
  • afterAll(...) will be executed after synchronization process completion.

Deploy

A synchronization actions class can be deployed:

  • at project definition time
    • by adding own implementation into the overlay project, before to build Syncope.
  • at run-time
    • by adding into the container classpath own implementation (container needs to be re-started).
  • No labels