A C D E G H I K N O P S T U V W

A

ANONYMOUS - Static variable in class com.cloudera.alfredo.server.AuthenticationToken
Constant that identifies an anonymous request.
ANONYMOUS_ALLOWED - Static variable in class com.cloudera.alfredo.server.PseudoAuthenticationHandler
Constant for the configuration property that indicates if anonymous users are allowed.
AUTH_COOKIE - Static variable in class com.cloudera.alfredo.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 com.cloudera.alfredo.server.AuthenticationFilter
Constant for the configuration property that indicates the validity of the generated token.
AUTH_TYPE - Static variable in class com.cloudera.alfredo.server.AuthenticationFilter
Constant for the property that specifies the authentication handler to use.
authenticate(URL, AuthenticatedURL.Token) - Method in interface com.cloudera.alfredo.client.Authenticator
Authenticates against a URL and returns a AuthenticatedURL.Token to be used by subsequent requests.
authenticate(URL, AuthenticatedURL.Token) - Method in class com.cloudera.alfredo.client.KerberosAuthenticator
Performs SPNEGO authentication against the specified URL.
authenticate(URL, AuthenticatedURL.Token) - Method in class com.cloudera.alfredo.client.PseudoAuthenticator
Performs simple authentication against the specified URL.
authenticate(HttpServletRequest, HttpServletResponse) - Method in interface com.cloudera.alfredo.server.AuthenticationHandler
Performs an authentication step for the given HTTP client request.
authenticate(HttpServletRequest, HttpServletResponse) - Method in class com.cloudera.alfredo.server.KerberosAuthenticationHandler
It enforces the the Kerberos SPNEGO authentication sequence returning an AuthenticationToken only after the Kerberos SPNEGO sequence completed successfully.
authenticate(HttpServletRequest, HttpServletResponse) - Method in class com.cloudera.alfredo.server.PseudoAuthenticationHandler
Authenticates an HTTP client request.
AuthenticatedURL - Class in com.cloudera.alfredo.client
The AuthenticatedURL class enables the use of the JDK URL class against HTTP endpoints protected with the AuthenticationFilter.
AuthenticatedURL() - Constructor for class com.cloudera.alfredo.client.AuthenticatedURL
Creates an AuthenticatedURL.
AuthenticatedURL(Authenticator) - Constructor for class com.cloudera.alfredo.client.AuthenticatedURL
Creates an AuthenticatedURL.
AuthenticatedURL.Token - Class in com.cloudera.alfredo.client
Client side authentication token.
AuthenticatedURL.Token() - Constructor for class com.cloudera.alfredo.client.AuthenticatedURL.Token
Creates a token.
AuthenticatedURL.Token(String) - Constructor for class com.cloudera.alfredo.client.AuthenticatedURL.Token
Creates a token using an existing string representation of the token.
AuthenticationException - Exception in com.cloudera.alfredo.client
Exception thrown when an authentication error occurrs.
AuthenticationException(Throwable) - Constructor for exception com.cloudera.alfredo.client.AuthenticationException
Creates an AuthenticationException.
AuthenticationException(String) - Constructor for exception com.cloudera.alfredo.client.AuthenticationException
Creates an AuthenticationException.
AuthenticationException(String, Throwable) - Constructor for exception com.cloudera.alfredo.client.AuthenticationException
Creates an AuthenticationException.
AuthenticationFilter - Class in com.cloudera.alfredo.server
The AuthenticationFilter enabled protecting web application resources with different (pluggable) authentication mechanisms.
AuthenticationFilter() - Constructor for class com.cloudera.alfredo.server.AuthenticationFilter
 
AuthenticationHandler - Interface in com.cloudera.alfredo.server
Interface for server authentication mechanisms.
AuthenticationToken - Class in com.cloudera.alfredo.server
The AuthenticationToken contains information about an authenticated HTTP client and doubles as the Principal to be returned by authenticated HttpServletRequests

The token can be serialized/deserialized to and from string and it is send 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 com.cloudera.alfredo.server.AuthenticationToken
Creates an authentication token.
Authenticator - Interface in com.cloudera.alfredo.client
Interface for client authentication mechanisms.
AUTHORIZATION - Static variable in class com.cloudera.alfredo.client.KerberosAuthenticator
HTTP header used by the SPNEGO client endpoint during an authentication sequence.

C

com.cloudera.alfredo.client - package com.cloudera.alfredo.client
 
com.cloudera.alfredo.server - package com.cloudera.alfredo.server
 
com.cloudera.alfredo.util - package com.cloudera.alfredo.util
 
computeSignature(String) - Method in class com.cloudera.alfredo.util.Signer
Returns then signature of a string.
CONFIG_PREFIX - Static variable in class com.cloudera.alfredo.server.AuthenticationFilter
Constant for the property that specifies the configuration prefix.
COOKIE_DOMAIN - Static variable in class com.cloudera.alfredo.server.AuthenticationFilter
Constant for the configuration property that indicates the domain to use in the HTTP cookie.
COOKIE_PATH - Static variable in class com.cloudera.alfredo.server.AuthenticationFilter
Constant for the configuration property that indicates the path to use in the HTTP cookie.
createCookie(String) - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Creates the Alfredo authentiation HTTP cookie.

D

destroy() - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Destroys the filter.
destroy() - Method in interface com.cloudera.alfredo.server.AuthenticationHandler
Destroys the authentication handler instance.
destroy() - Method in class com.cloudera.alfredo.server.KerberosAuthenticationHandler
Releases any resources initialized by the authentication handler.
destroy() - Method in class com.cloudera.alfredo.server.PseudoAuthenticationHandler
Releases any resources initialized by the authentication handler.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.cloudera.alfredo.server.AuthenticationFilter
If the request has a valid authentication token it allows the request to continue to the target resource, otherwise it triggers an authentication sequence using the configured AuthenticationHandler.

E

equals(Object) - Method in class com.cloudera.alfredo.client.AuthenticatedURL.Token
Return if two token instances are equal.
extractToken(HttpURLConnection, AuthenticatedURL.Token) - Static method in class com.cloudera.alfredo.client.AuthenticatedURL
Helper method that extracts an authentication token received from a connection.

G

getAcceptAnonymous() - Method in class com.cloudera.alfredo.server.PseudoAuthenticationHandler
Returns if the handler is configured to support anonymous users.
getAuthenticationHandler() - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Returns the authentication handler being used.
getConfiguration(String, FilterConfig) - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Returns the filtered configuration (only properties starting with the specified prefix).
getCookieDomain() - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Returns the cookie domain to use for the HTTP cookie.
getCookiePath() - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Returns the cookie path to use for the HTTP cookie.
getDefaultAuthenticator() - Static method in class com.cloudera.alfredo.client.AuthenticatedURL
Returns the default Authenticator class to use when an AuthenticatedURL instance is created without specifying an authenticator.
getExpires() - Method in class com.cloudera.alfredo.server.AuthenticationToken
Returns the expiration time of the token.
getFallBackAuthenticator() - Method in class com.cloudera.alfredo.client.KerberosAuthenticator
If the specified URL does not support SPNEGO authentication, a fallback Authenticator wil be used.
getKeytab() - Method in class com.cloudera.alfredo.server.KerberosAuthenticationHandler
Returns the keytab used by the authentication handler.
getName() - Method in class com.cloudera.alfredo.server.AuthenticationToken
Returns the principal name (this method name comes from the JDK Principal interface).
getPrincipal() - Method in class com.cloudera.alfredo.server.KerberosAuthenticationHandler
Returns the Kerberos principal used by the authentication handler.
getRequestURL(HttpServletRequest) - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Returns the full URL of the request including the query string.
getToken(HttpServletRequest) - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Returns the AuthenticationToken for the request.
getType() - Method in interface com.cloudera.alfredo.server.AuthenticationHandler
Returns the authentication type of the authentication handler.
getType() - Method in class com.cloudera.alfredo.server.AuthenticationToken
Returns the authentication mechanism of the token.
getType() - Method in class com.cloudera.alfredo.server.KerberosAuthenticationHandler
Returns the authentication type of the authentication handler, 'kerberos'.
getType() - Method in class com.cloudera.alfredo.server.PseudoAuthenticationHandler
Returns the authentication type of the authentication handler, 'simple'.
getUserName() - Method in class com.cloudera.alfredo.client.PseudoAuthenticator
Returns the current user name.
getUserName() - Method in class com.cloudera.alfredo.server.AuthenticationToken
Returns the user name.
getValidity() - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Returns the validity of the generated tokens.

H

hashCode() - Method in class com.cloudera.alfredo.client.AuthenticatedURL.Token
Return the hashcode for the token.

I

init(FilterConfig) - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Initializes the authentication filter.
init(Properties) - Method in interface com.cloudera.alfredo.server.AuthenticationHandler
Initializes the authentication handler instance.
init(Properties) - Method in class com.cloudera.alfredo.server.KerberosAuthenticationHandler
Initializes the authentication handler instance.
init(Properties) - Method in class com.cloudera.alfredo.server.PseudoAuthenticationHandler
Initializes the authentication handler instance.
injectToken(HttpURLConnection, AuthenticatedURL.Token) - Static method in class com.cloudera.alfredo.client.AuthenticatedURL
Helper method that injects an authentication token to send with a connection.
isExpired() - Method in class com.cloudera.alfredo.server.AuthenticationToken
Returns if the token has expired.
isRandomSecret() - Method in class com.cloudera.alfredo.server.AuthenticationFilter
Returns if a random secret is being used.
isSet() - Method in class com.cloudera.alfredo.client.AuthenticatedURL.Token
Returns if a token from the server has been set.

K

KerberosAuthenticationHandler - Class in com.cloudera.alfredo.server
The KerberosAuthenticationHandler implements the Kerberos SPNEGO authentication mechanims for HTTP.
KerberosAuthenticationHandler() - Constructor for class com.cloudera.alfredo.server.KerberosAuthenticationHandler
 
KerberosAuthenticator - Class in com.cloudera.alfredo.client
The KerberosAuthenticator implements the Kerberos SPNEGO authentication sequence.
KerberosAuthenticator() - Constructor for class com.cloudera.alfredo.client.KerberosAuthenticator
 
KEYTAB - Static variable in class com.cloudera.alfredo.server.KerberosAuthenticationHandler
Constant for the configuration property that indicates the keytab file path.

N

NEGOTIATE - Static variable in class com.cloudera.alfredo.client.KerberosAuthenticator
HTTP header prefix used by the SPNEGO client/server endpoints during an authentication sequence.

O

openConnection(URL, AuthenticatedURL.Token) - Method in class com.cloudera.alfredo.client.AuthenticatedURL
Returns an authenticated HttpURLConnection.

P

parse(String) - Static method in class com.cloudera.alfredo.server.AuthenticationToken
Parses a string into an authentication token.
PRINCIPAL - Static variable in class com.cloudera.alfredo.server.KerberosAuthenticationHandler
Constant for the configuration property that indicates the kerberos principal.
PseudoAuthenticationHandler - Class in com.cloudera.alfredo.server
The PseudoAuthenticationHandler provides a pseudo authentication mechanism that accepts the user name specified as a query string parameter.
PseudoAuthenticationHandler() - Constructor for class com.cloudera.alfredo.server.PseudoAuthenticationHandler
 
PseudoAuthenticator - Class in com.cloudera.alfredo.client
The PseudoAuthenticator implementation provides an authentication equivalent to Hadoop Simple authentication, it trust the value of the 'user.name' Java System property.
PseudoAuthenticator() - Constructor for class com.cloudera.alfredo.client.PseudoAuthenticator
 

S

setDefaultAuthenticator(Class<? extends Authenticator>) - Static method in class com.cloudera.alfredo.client.AuthenticatedURL
Sets the default Authenticator class to use when an AuthenticatedURL instance is created without specifying an authenticator.
setExpires(long) - Method in class com.cloudera.alfredo.server.AuthenticationToken
Sets the expiration of the token.
sign(String) - Method in class com.cloudera.alfredo.util.Signer
Returns a signed string.
SIGNATURE_SECRET - Static variable in class com.cloudera.alfredo.server.AuthenticationFilter
Constant for the property that specifies the secret to use for signing the HTTP Cookies.
Signer - Class in com.cloudera.alfredo.util
Signs strings and verifies signed strings using a SHA digest.
Signer(byte[]) - Constructor for class com.cloudera.alfredo.util.Signer
Creates a Signer instance using the specified secret.
SignerException - Exception in com.cloudera.alfredo.util
Exception thrown by Signer when a string signature is invalid.
SignerException(String) - Constructor for exception com.cloudera.alfredo.util.SignerException
Creates an exception instance.

T

toString() - Method in class com.cloudera.alfredo.client.AuthenticatedURL.Token
Returns the string representation of the token.
toString() - Method in class com.cloudera.alfredo.server.AuthenticationToken
Returns the string representation of the token.
TYPE - Static variable in class com.cloudera.alfredo.server.KerberosAuthenticationHandler
Constant that identifies the authentication mechanism.
TYPE - Static variable in class com.cloudera.alfredo.server.PseudoAuthenticationHandler
Constant that identifies the authentication mechanism.

U

USER_NAME - Static variable in class com.cloudera.alfredo.client.PseudoAuthenticator
Name of the additional parameter that carries the 'user.name' value.

V

verifyAndExtract(String) - Method in class com.cloudera.alfredo.util.Signer
Verifies a signed string and extracts the original string.

W

WWW_AUTHENTICATE - Static variable in class com.cloudera.alfredo.client.KerberosAuthenticator
HTTP header used by the SPNEGO server endpoint during an authentication sequence.

A C D E G H I K N O P S T U V W

Copyright © 2012 Cloudera Inc.. All Rights Reserved.