{"id":71592,"library":"org-apache-sling-auth-core","title":"Apache Sling Authentication Core","description":"Provides basic mechanisms to authenticate HTTP requests with a JCR repository via extensible AuthenticationHandler interface.","status":"active","version":"2.0.2","language":"java","source_language":null,"source_url":"https://github.com/apache/sling-org-apache-sling-auth-core","tags":["apache-sling","authentication","jcr","http"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.sling</groupId>\n  <artifactId>org.apache.sling.auth.core</artifactId>\n  <version>2.0.2</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.sling:org.apache.sling.auth.core:2.0.2'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"AuthenticationHandler","correct":"org.apache.sling.auth.core.AuthenticationHandler"}],"quickstart":{"code":"import org.apache.sling.auth.core.AuthenticationHandler;\nimport javax.servlet.http.HttpServletRequest;\nimport javax.servlet.http.HttpServletResponse;\n\npublic class CustomAuthHandler implements AuthenticationHandler {\n    @Override\n    public boolean extractCredentials(HttpServletRequest request, HttpServletResponse response) {\n        return false;\n    }\n}","lang":"java","description":"Implement a custom authentication handler."},"warnings":[],"env_vars":null,"search_vec":"'apach':1,21 'apache-sl':20 'authent':3,9,23 'authenticationhandl':18 'basic':6 'core':4 'extens':17 'http':10,25 'interfac':19 'jcr':14,24 'mechan':7 'provid':5 'repositori':15 'request':11 'sling':2,22 'via':16","created_at":"2026-06-17T18:29:11.049249+00:00","updated_at":"2026-06-17T18:29:11.049249+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://sling.apache.org","github":"https://github.com/apache/sling-org-apache-sling-auth-core","docs":"https://appdoc.app/artifact/org.apache.sling/org.apache.sling.auth.core/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}