On Mon, Oct 20, 2025 at 11:15:26AM +0200, Francesco Chicchiriccò wrote:
...
public Pair<UserUR, List<PropagationStatus>> update(
final UserUR userUR,
final Set<String> excludedResources,
final boolean nullPriorityAsync,
final String updater,
final String context
)
I see, but the reason is what reported above, only the update() methods being
called during Pull Task execution needs to be annotated in order to work
properly; hence:
* Users: [1] is called by [2]
* Groups: [3] is called by [4]
* Any Objects: [5] is called by [6]
OK, I have come to realize that the method is never called in Syncope. But
is it not inconsistent to leave the method unannotated if
1. the corresponding methods for groups and anyObjects and
2. method [1], which is called by the method,
are all annotated? What would be the use case for calling the method
outside of a transaction?
Regards
Stephan
[1]
https://github.com/apache/syncope/blob/master/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/DefaultUserProvisioningManager.java#L147
[2]
https://github.com/apache/syncope/blob/master/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/DefaultUserPullResultHandler.java#L127
[3]
https://github.com/apache/syncope/blob/master/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/DefaultGroupProvisioningManager.java#L119
[4]
https://github.com/apache/syncope/blob/master/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/DefaultGroupPullResultHandler.java#L113
[5]
https://github.com/apache/syncope/blob/master/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/DefaultAnyObjectProvisioningManager.java#L100
[6]
https://github.com/apache/syncope/blob/master/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/DefaultAnyObjectPullResultHandler.java#L102
--
Stephan Feder, Senior Software-Entwickler
Technische Universität Darmstadt
Hochschulrechenzentrum, Alexanderstraße 2, 64283 Darmstadt
Tel. +49 6151 16-71162
https://www.hrz.tu-darmstadt.de/