SLING-9456 Announce presence of JCR users as OSGi services

wait for sling-readall when testing for user presence
1 file changed
tree: 84556748c4f911dec7a6a3b60a9ac87e5a59e9d1
  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