SLING-9456 Announce presence of JCR users as OSGi services
14 files changed
tree: 9eacc41cf9442c41e754fbb8b6dcd9bd7b4008d4
  1. src/
  2. .gitignore
  3. bnd.bnd
  4. CODE_OF_CONDUCT.md
  5. CONTRIBUTING.md
  6. Jenkinsfile
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

Build Status Test Status Maven Central JavaDocs License

Apache Sling JCR Presence

This module is part of the Apache Sling project.

User Presenter

If an OSGi component depends on a service (system) user, the user presenter can be used to announce the presence of the user as OSGi service.

The OSGi component can reference the service which represents the user, e.g.

@Reference(
    target = "(&(userId=sling-readall)(disabled=false)(systemUser=true))"
)
private UserPresenter userPresenter