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 and Description |
---|---|
void |
PseudoAuthenticator.authenticate(URL url,
AuthenticatedURL.Token token)
Performs simple authentication against the specified URL.
|
void |
KerberosAuthenticator.authenticate(URL url,
AuthenticatedURL.Token token)
Performs SPNEGO authentication against the specified URL.
|
void |
Authenticator.authenticate(URL url,
AuthenticatedURL.Token token)
Authenticates against a URL and returns a
AuthenticatedURL.Token to be
used by subsequent requests. |
static void |
AuthenticatedURL.extractToken(HttpURLConnection conn,
AuthenticatedURL.Token token)
Helper method that extracts an authentication token received from a connection.
|
HttpURLConnection |
AuthenticatedURL.openConnection(URL url,
AuthenticatedURL.Token token)
Returns an authenticated
HttpURLConnection . |
Modifier and Type | Method and 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 |
JWTRedirectAuthenticationHandler.alternateAuthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
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 |
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 |
PseudoAuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Authenticates an HTTP client request.
|
AuthenticationToken |
AuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs an authentication step for the given HTTP client request.
|
AuthenticationToken |
MultiSchemeAuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
AuthenticationToken |
LdapAuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected AuthenticationToken |
AuthenticationFilter.getToken(javax.servlet.http.HttpServletRequest request)
Returns the
AuthenticationToken for the request. |
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 |
PseudoAuthenticationHandler.managementOperation(AuthenticationToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This is an empty implementation, it always returns
TRUE . |
boolean |
AuthenticationHandler.managementOperation(AuthenticationToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs an authentication management operation.
|
boolean |
MultiSchemeAuthenticationHandler.managementOperation(AuthenticationToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
LdapAuthenticationHandler.managementOperation(AuthenticationToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static AuthenticationToken |
AuthenticationToken.parse(String tokenStr)
Parses a string into an authentication token.
|
Modifier and Type | Method and Description |
---|---|
static AuthToken |
AuthToken.parse(String tokenStr) |
Copyright © 2022 Apache Software Foundation. All rights reserved.