- abort() - Method in class org.apache.hadoop.security.login.GenericOSLoginModule
-
- addHeader(HttpServletResponse) - Method in class org.apache.hadoop.security.authentication.server.KerberosAuthHandler
-
- addHeader(HttpServletResponse) - Method in class org.apache.hadoop.security.authentication.server.MultiMechsAuthenticationHandler
-
Children must override this method with supplying corresponding header
- alternateAuthenticate(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.security.authentication.server.AltKerberosAuthenticationHandler
-
Subclasses should implement this method to provide the custom
authentication to be used for browsers.
- AltKerberosAuthenticationHandler - Class in org.apache.hadoop.security.authentication.server
-
- AltKerberosAuthenticationHandler() - Constructor for class org.apache.hadoop.security.authentication.server.AltKerberosAuthenticationHandler
-
- ANONYMOUS - Static variable in class org.apache.hadoop.security.authentication.server.AuthenticationToken
-
Constant that identifies an anonymous request.
- ANONYMOUS_ALLOWED - Static variable in class org.apache.hadoop.security.authentication.server.PseudoAuthenticationHandler
-
Constant for the configuration property that indicates if anonymous users are allowed.
- AUTH_COOKIE - Static variable in class org.apache.hadoop.security.authentication.client.AuthenticatedURL
-
Name of the HTTP cookie used for the authentication token between the client and the server.
- AUTH_TOKEN_VALIDITY - Static variable in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
-
Constant for the configuration property that indicates the validity of the generated token.
- AUTH_TYPE - Static variable in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
-
Constant for the property that specifies the authentication handler to use.
- authenticate(URL, AuthenticatedURL.Token) - Method in interface org.apache.hadoop.security.authentication.client.Authenticator
-
- authenticate(URL, AuthenticatedURL.Token) - Method in class org.apache.hadoop.security.authentication.client.KerberosAuthenticator
-
Performs SPNEGO authentication against the specified URL.
- authenticate(URL, AuthenticatedURL.Token) - Method in class org.apache.hadoop.security.authentication.client.PseudoAuthenticator
-
Performs simple authentication against the specified URL.
- authenticate(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.security.authentication.server.AltKerberosAuthenticationHandler
-
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).
- authenticate(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.hadoop.security.authentication.server.AuthenticationHandler
-
Performs an authentication step for the given HTTP client request.
- authenticate(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler
-
It enforces the the Kerberos SPNEGO authentication sequence returning an
AuthenticationToken
only
after the Kerberos SPNEGO sequence has completed successfully.
- authenticate(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.security.authentication.server.MultiMechsAuthenticationHandler
-
Authenticate main method:
In step 1.
- authenticate(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.security.authentication.server.PseudoAuthenticationHandler
-
Authenticates an HTTP client request.
- AuthenticatedURL - Class in org.apache.hadoop.security.authentication.client
-
- AuthenticatedURL() - Constructor for class org.apache.hadoop.security.authentication.client.AuthenticatedURL
-
- AuthenticatedURL(Authenticator) - Constructor for class org.apache.hadoop.security.authentication.client.AuthenticatedURL
-
Creates an AuthenticatedURL
.
- AuthenticatedURL(Authenticator, ConnectionConfigurator) - Constructor for class org.apache.hadoop.security.authentication.client.AuthenticatedURL
-
Creates an AuthenticatedURL
.
- AuthenticatedURL.Token - Class in org.apache.hadoop.security.authentication.client
-
Client side authentication token.
- AuthenticatedURL.Token() - Constructor for class org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token
-
Creates a token.
- AuthenticatedURL.Token(String) - Constructor for class org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token
-
Creates a token using an existing string representation of the token.
- AuthenticationException - Exception in org.apache.hadoop.security.authentication.client
-
Exception thrown when an authentication error occurrs.
- AuthenticationException(Throwable) - Constructor for exception org.apache.hadoop.security.authentication.client.AuthenticationException
-
- AuthenticationException(String) - Constructor for exception org.apache.hadoop.security.authentication.client.AuthenticationException
-
- AuthenticationException(String, Throwable) - Constructor for exception org.apache.hadoop.security.authentication.client.AuthenticationException
-
- AuthenticationFilter - Class in org.apache.hadoop.security.authentication.server
-
The
AuthenticationFilter
enables protecting web application resources with different (pluggable)
authentication mechanisms.
- AuthenticationFilter() - Constructor for class org.apache.hadoop.security.authentication.server.AuthenticationFilter
-
- AuthenticationHandler - Interface in org.apache.hadoop.security.authentication.server
-
Interface for server authentication mechanisms.
- AuthenticationToken - Class in org.apache.hadoop.security.authentication.server
-
The
AuthenticationToken
contains information about an authenticated
HTTP client and doubles as the
Principal
to be returned by
authenticated
HttpServletRequest
s
The token can be serialized/deserialized to and from a string as it is sent
and received in HTTP client responses and requests as a HTTP cookie (this is
done by the
AuthenticationFilter
).
- AuthenticationToken(String, String, String) - Constructor for class org.apache.hadoop.security.authentication.server.AuthenticationToken
-
Creates an authentication token.
- Authenticator - Interface in org.apache.hadoop.security.authentication.client
-
Interface for client authentication mechanisms.
- AUTHORIZATION - Static variable in class org.apache.hadoop.security.authentication.client.KerberosAuthenticator
-
HTTP header used by the SPNEGO client endpoint during an authentication sequence.
- GenericOSLoginModule - Class in org.apache.hadoop.security.login
-
- GenericOSLoginModule() - Constructor for class org.apache.hadoop.security.login.GenericOSLoginModule
-
- getAcceptAnonymous() - Method in class org.apache.hadoop.security.authentication.server.PseudoAuthenticationHandler
-
Returns if the handler is configured to support anonymous users.
- getAuthBasedEntity(String) - Method in class org.apache.hadoop.security.authentication.server.KerberosAuthHandler
-
- getAuthBasedEntity(String) - Method in class org.apache.hadoop.security.authentication.server.MultiMechsAuthenticationHandler
-
Children must override this method to essentially return "this" based on the request header
or null if request header is not suitable to a given auth mechanism
- getAuthenticationHandler() - Method in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
-
Returns the authentication handler being used.
- getClassFromType(String) - Static method in enum org.apache.hadoop.security.authentication.server.MultiMechsAuthenticationHandler.AuthHandlerEnum
-
- getConfiguration(String, FilterConfig) - Method in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
-
Returns the filtered configuration (only properties starting with the specified prefix).
- getCookieDomain() - Method in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
-
Returns the cookie domain to use for the HTTP cookie.
- getCookiePath() - Method in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
-
Returns the cookie path to use for the HTTP cookie.
- getDefaultAuthenticator() - Static method in class org.apache.hadoop.security.authentication.client.AuthenticatedURL
-
- getDefaultRealm() - Method in class org.apache.hadoop.security.authentication.util.KerberosName
-
Get the configured default realm.
- getDefaultRealm() - Static method in class org.apache.hadoop.security.authentication.util.KerberosUtil
-
- getExpires() - Method in class org.apache.hadoop.security.authentication.server.AuthenticationToken
-
Returns the expiration time of the token.
- getFallBackAuthenticator() - Method in class org.apache.hadoop.security.authentication.client.KerberosAuthenticator
-
If the specified URL does not support SPNEGO authentication, a fallback
Authenticator
will be used.
- getHostName() - Method in class org.apache.hadoop.security.authentication.util.KerberosName
-
Get the second component of the name.
- getKeytab() - Method in class org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler
-
Returns the keytab used by the authentication handler.
- getKeytab() - Method in class org.apache.hadoop.security.authentication.server.KerberosAuthHandler
-
Returns the keytab used by the authentication handler.
- getKrb5LoginModuleName() - Static method in class org.apache.hadoop.security.authentication.util.KerberosUtil
-
- getMyClassName() - Method in enum org.apache.hadoop.security.authentication.server.MultiMechsAuthenticationHandler.AuthHandlerEnum
-
- getName() - Method in class org.apache.hadoop.security.authentication.server.AuthenticationToken
-
Returns the principal name (this method name comes from the JDK
Principal
interface).
- getOidInstance(String) - Static method in class org.apache.hadoop.security.authentication.util.KerberosUtil
-
- getOrder() - Method in enum org.apache.hadoop.security.authentication.server.MultiMechsAuthenticationHandler.AuthHandlerEnum
-
- getOrderedArray() - Static method in enum org.apache.hadoop.security.authentication.server.MultiMechsAuthenticationHandler.AuthHandlerEnum
-
Since browsers pick auth mechanisms based on the order of the headers
we need to send headers ordered from Strongest to Weakest
- getPrincipal() - Method in class org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler
-
Returns the Kerberos principal used by the authentication handler.
- getPrincipal() - Method in class org.apache.hadoop.security.authentication.server.KerberosAuthHandler
-
Returns the Kerberos principal used by the authentication handler.
- getRealm() - Method in class org.apache.hadoop.security.authentication.util.KerberosName
-
Get the realm of the name.
- getRequestURL(HttpServletRequest) - Method in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
-
Returns the full URL of the request including the query string.
- getRules() - Static method in class org.apache.hadoop.security.authentication.util.KerberosName
-
Get the rules.
- getServiceName() - Method in class org.apache.hadoop.security.authentication.util.KerberosName
-
Get the first component of the name.
- getServicePrincipal(String, String) - Static method in class org.apache.hadoop.security.authentication.util.KerberosUtil
-
Create Kerberos principal for a given service and hostname.
- getShortName() - Method in class org.apache.hadoop.security.authentication.util.KerberosName
-
Get the translation of the principal name into an operating system
user name.
- getSignatureSecret() - Method in interface org.apache.hadoop.security.authentication.server.CookieSignatureSecretFactory
-
- getToken(HttpServletRequest) - Method in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
-
- getType() - Method in class org.apache.hadoop.security.authentication.server.AltKerberosAuthenticationHandler
-
Returns the authentication type of the authentication handler,
'alt-kerberos'.
- getType() - Method in interface org.apache.hadoop.security.authentication.server.AuthenticationHandler
-
Returns the authentication type of the authentication handler.
- getType() - Method in class org.apache.hadoop.security.authentication.server.AuthenticationToken
-
Returns the authentication mechanism of the token.
- getType() - Method in class org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler
-
Returns the authentication type of the authentication handler, 'kerberos'.
- getType() - Method in enum org.apache.hadoop.security.authentication.server.MultiMechsAuthenticationHandler.AuthHandlerEnum
-
- getType() - Method in class org.apache.hadoop.security.authentication.server.MultiMechsAuthenticationHandler
-
- getType() - Method in class org.apache.hadoop.security.authentication.server.PseudoAuthenticationHandler
-
Returns the authentication type of the authentication handler, 'simple'.
- getUserName() - Method in class org.apache.hadoop.security.authentication.client.PseudoAuthenticator
-
Returns the current user name.
- getUserName() - Method in class org.apache.hadoop.security.authentication.server.AuthenticationToken
-
Returns the user name.
- getValidity() - Method in class org.apache.hadoop.security.authentication.server.AuthenticationFilter
-
Returns the validity time of the generated tokens.
- gssManager - Variable in class org.apache.hadoop.security.authentication.server.KerberosAuthHandler
-