| Package | Description |
|---|---|
| org.apache.hadoop.security.authentication.client | |
| org.apache.hadoop.security.authentication.server |
Provides the server-side framework for authentication.
|
| org.apache.hadoop.security.authentication.util |
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
AbstractMaprAuthenticator.authenticate(java.net.URL url,
AuthenticatedURL.Token token) |
|
void |
Authenticator.authenticate(java.net.URL url,
AuthenticatedURL.Token token) |
Authenticates against a URL and returns a
AuthenticatedURL.Token to be
used by subsequent requests. |
void |
KerberosAuthenticator.authenticate(java.net.URL url,
AuthenticatedURL.Token token) |
Performs SPNEGO authentication against the specified URL.
|
void |
PseudoAuthenticator.authenticate(java.net.URL url,
AuthenticatedURL.Token token) |
Performs simple authentication against the specified URL.
|
static void |
AuthenticatedURL.extractToken(java.net.HttpURLConnection conn,
AuthenticatedURL.Token token) |
Helper method that extracts an authentication token received from a connection.
|
java.net.HttpURLConnection |
AuthenticatedURL.openConnection(java.net.URL url,
AuthenticatedURL.Token token) |
Returns an authenticated
HttpURLConnection. |
| Modifier and Type | Method | Description |
|---|---|---|
abstract AuthenticationToken |
AltKerberosAuthenticationHandler.alternateAuthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Subclasses should implement this method to provide the custom
authentication to be used for browsers.
|
AuthenticationToken |
AltKerberosAuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
It enforces the the Kerberos SPNEGO authentication sequence returning an
AuthenticationToken only after the Kerberos SPNEGO sequence has
completed successfully (in the case of Java access) and only after the
custom authentication implemented by the subclass in alternateAuthenticate
has completed successfully (in the case of browser access). |
AuthenticationToken |
AuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Performs an authentication step for the given HTTP client request.
|
AuthenticationToken |
KerberosAuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
It enforces the the Kerberos SPNEGO authentication sequence returning an
AuthenticationToken only after the Kerberos SPNEGO sequence has
completed successfully. |
AuthenticationToken |
LdapAuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
AuthenticationToken |
MultiMechsAuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Authenticate main method:
In step 1.
|
AuthenticationToken |
MultiSchemeAuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
AuthenticationToken |
PseudoAuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Authenticates an HTTP client request.
|
protected AuthenticationToken |
AuthenticationFilter.getToken(javax.servlet.http.HttpServletRequest request) |
Returns the
AuthenticationToken for the request. |
boolean |
AuthenticationHandler.managementOperation(AuthenticationToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Performs an authentication management operation.
|
boolean |
KerberosAuthenticationHandler.managementOperation(AuthenticationToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
This is an empty implementation, it always returns
TRUE. |
boolean |
LdapAuthenticationHandler.managementOperation(AuthenticationToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
boolean |
MultiMechsAuthenticationHandler.managementOperation(AuthenticationToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Returns true by default.
|
boolean |
MultiSchemeAuthenticationHandler.managementOperation(AuthenticationToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
boolean |
PseudoAuthenticationHandler.managementOperation(AuthenticationToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
This is an empty implementation, it always returns
TRUE. |
abstract AuthenticationToken |
AbstractMaprAuthenticationHandler.maprAuthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
static AuthenticationToken |
AuthenticationToken.parse(java.lang.String tokenStr) |
Parses a string into an authentication token.
|
AuthenticationToken |
AbstractMaprAuthenticationHandler.postauthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
AuthenticationToken |
BasicAuthHandler.postauthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
AuthenticationToken |
JWTAuthHandler.postauthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
AuthenticationToken |
JWTRedirectAuthenticationHandler.postauthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
AuthenticationToken |
KerberosAuthHandler.postauthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
protected AuthenticationToken |
MultiMechsAuthenticationHandler.postauthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Children must override this method to perform real authentication based on the information received
in the request header
|
| Modifier and Type | Method | Description |
|---|---|---|
static AuthToken |
AuthToken.parse(java.lang.String tokenStr) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.