This module is part of the Apache Sling project.
The Sling Authentication Service bundle provides the basic mechanisms to authenticate HTTP requests with a JCR repository. Authentication detail extraction is extensible through the Authentication Handler SPI (AuthenticationHandler and JakartaAuthenticationHandler).
This module targets Java 17+ and OSGi Declarative Services (R7 annotations).
This bundle should be installed into an OSGi framework together with the Apache Sling Framework. Beyond Apache Sling it requires:
Optional integrations (if available in the runtime):
mvn package
Useful commands:
mvn test mvn verify mvn package -DskipTests mvn clean package mvn install
javax.servlet (4.0.1) and Jakarta Servlet (jakarta.servlet 6.1.0) based authentication handlers.org.apache.sling.auth.core.impl; public SPI is in org.apache.sling.auth.core.spi.pom.xml bnd.bnd src/ main/java/org/apache/sling/auth/core/ spi/ impl/ engine/ hc/ test/java/org/apache/sling/auth/core/