# Package org.apache.sling.api.auth

@Version("1.1.0") package org.apache.sling.api.auth

Related Packages
Package
Description
org.apache.sling.api
Class
Description
Authenticator
The `Authenticator` interface defines the service interface which may be used by applications to enforce requests to be authenticated (see `Authenticator.login(HttpServletRequest, HttpServletResponse)`) or to end enforced authentication (see `Authenticator.logout(HttpServletRequest, HttpServletResponse)` ).
NoAuthenticationHandlerException
The `NoAuthenticationHandlerException` is thrown to indicate that the `Authenticator.login(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)` method could not find a way to authenticate the request user.