Index

A B C G I J K L N P R S 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

acceptToken(byte[]) - Method in class com.kerb4j.client.SpnegoContext
 
AUTHN_HEADER - Static variable in class com.kerb4j.common.util.Constants
HTTP Response Header WWW-Authenticate.
AUTHZ_HEADER - Static variable in class com.kerb4j.common.util.Constants
HTTP Request Header Authorization.

B

BASIC_HEADER - Static variable in class com.kerb4j.common.util.Constants
HTTP Response Header Basic.

C

close() - Method in class com.kerb4j.client.SpnegoContext
 
com.kerb4j.client - package com.kerb4j.client
 
com.kerb4j.common.jaas.sun - package com.kerb4j.common.jaas.sun
 
com.kerb4j.common.util - package com.kerb4j.common.util
 
Constants - Class in com.kerb4j.common.util
Defines constants and parameter names that are used in the web.xml file, and HTTP request headers, etc.
createAcceptContext() - Method in class com.kerb4j.client.SpnegoClient
 
createAuthroizationHeader(URL) - Method in class com.kerb4j.client.SpnegoClient
 
createAuthroizationHeaderForSPN(String) - Method in class com.kerb4j.client.SpnegoClient
 
createContext(URL) - Method in class com.kerb4j.client.SpnegoClient
 
createContextForSPN(String) - Method in class com.kerb4j.client.SpnegoClient
 
createGSSNameForSPN(String) - Static method in class com.kerb4j.common.util.SpnegoProvider
Returns the GSSName constructed out of the passed-in SPN
createKeyTabClientConfig(String, String) - Static method in class com.kerb4j.common.jaas.sun.Krb5LoginConfig
 
createKeyTabClientConfig(String, String, Map<String, String>) - Static method in class com.kerb4j.common.jaas.sun.Krb5LoginConfig
TODO: add since parameter
createTicketCacheClientConfig(String) - Static method in class com.kerb4j.common.jaas.sun.Krb5LoginConfig
 
createToken() - Method in class com.kerb4j.client.SpnegoContext
 
createTokenAsAuthroizationHeader() - Method in class com.kerb4j.client.SpnegoContext
 
createUsernameAndPasswordClientConfig() - Static method in class com.kerb4j.common.jaas.sun.Krb5LoginConfig
 

G

getAppConfigurationEntry(String) - Method in class com.kerb4j.common.jaas.sun.Krb5LoginConfig
 
getAuthScheme(String) - Static method in class com.kerb4j.common.util.SpnegoProvider
Returns the SpnegoAuthScheme or null if header is missing.
getGSSContext() - Method in class com.kerb4j.client.SpnegoContext
 
getKerberosKeys() - Method in class com.kerb4j.client.SpnegoClient
 
getScheme() - Method in class com.kerb4j.common.util.SpnegoAuthScheme
Returns HTTP Authorization scheme.
getServerName(URL) - Static method in class com.kerb4j.common.util.SpnegoProvider
Returns the GSSName constructed out of the passed-in URL object.
getSrcName() - Method in class com.kerb4j.client.SpnegoContext
 
getSubject() - Method in class com.kerb4j.client.SpnegoClient
 
getToken() - Method in class com.kerb4j.common.util.SpnegoAuthScheme
Returns a copy of byte[].
getUsernameAndPasswordHandler(String, String) - Static method in class com.kerb4j.common.util.SpnegoProvider
Used by the BASIC Auth mechanism for establishing a LoginContext to authenticate a client/caller/request.
GlobalSunJaasKerberosConfig - Class in com.kerb4j.common.jaas.sun
Config for global jaas.
GlobalSunJaasKerberosConfig() - Constructor for class com.kerb4j.common.jaas.sun.GlobalSunJaasKerberosConfig
 
GSS_MANAGER - Static variable in class com.kerb4j.common.util.SpnegoProvider
Factory for GSS-API mechanism.

I

IS_IBM_JVM - Static variable in class com.kerb4j.common.util.JreVendor
 
IS_ORACLE_JVM - Static variable in class com.kerb4j.common.util.JreVendor
 
isEstablished() - Method in class com.kerb4j.client.SpnegoContext
 

J

JreVendor - Class in com.kerb4j.common.util
 
JreVendor() - Constructor for class com.kerb4j.common.util.JreVendor
 

K

KERBEROS_MECHANISM - Static variable in class com.kerb4j.common.util.SpnegoProvider
 
KERBEROS_V5_OID - Static variable in class com.kerb4j.common.util.SpnegoProvider
GSS-API mechanism "1.2.840.113554.1.2.2".
Krb5LoginConfig - Class in com.kerb4j.common.jaas.sun
Implementation of Configuration which uses Sun's JAAS Krb5LoginModule.
Krb5LoginConfig(Map<String, String>) - Constructor for class com.kerb4j.common.jaas.sun.Krb5LoginConfig
 
Krb5LoginContext - Class in com.kerb4j.common.jaas.sun
 

L

LEGACY_KERBEROS_MECHANISM - Static variable in class com.kerb4j.common.util.SpnegoProvider
 
loginWithContext(LoginContext) - Static method in class com.kerb4j.client.SpnegoClient
 
loginWithContextSupplier(Callable<LoginContext>) - Static method in class com.kerb4j.client.SpnegoClient
 
loginWithKeyTab(String, String) - Static method in class com.kerb4j.client.SpnegoClient
Creates an instance where authentication is done using keytab file
loginWithKeyTab(String, String) - Static method in class com.kerb4j.common.jaas.sun.Krb5LoginContext
 
loginWithKeyTab(String, String, boolean) - Static method in class com.kerb4j.client.SpnegoClient
Creates an instance where authentication is done using keytab file Allows customizing underlying isInitiator parameter by using acceptOnly parameter - see description below
loginWithKeyTab(String, String, boolean) - Static method in class com.kerb4j.common.jaas.sun.Krb5LoginContext
 
loginWithTicketCache(String) - Static method in class com.kerb4j.client.SpnegoClient
Creates an instance where authentication is done using ticket cache
loginWithTicketCache(String) - Static method in class com.kerb4j.common.jaas.sun.Krb5LoginContext
 
loginWithUsernameAndPassword(String, String) - Static method in class com.kerb4j.common.jaas.sun.Krb5LoginContext
 
loginWithUsernamePassword(String, String) - Static method in class com.kerb4j.client.SpnegoClient
Creates an instance where authentication is done using username and password
loginWithUsernamePassword(String, String, boolean) - Static method in class com.kerb4j.client.SpnegoClient
Creates an instance where authentication is done using username and password
LRUCache<K,V> - Class in com.kerb4j.common.util
 
LRUCache(int) - Constructor for class com.kerb4j.common.util.LRUCache
 

N

NEGOTIATE_HEADER - Static variable in class com.kerb4j.common.util.Constants
HTTP Response Header Negotiate.

P

processMutualAuthorization(byte[], int, int) - Method in class com.kerb4j.client.SpnegoContext
 

R

removeEldestEntry(Map.Entry<K, V>) - Method in class com.kerb4j.common.util.LRUCache
 
requestCredentialsDelegation() - Method in class com.kerb4j.client.SpnegoContext
 
resetCache() - Static method in class com.kerb4j.client.SpnegoClient
 

S

setDebug(boolean) - Method in class com.kerb4j.common.jaas.sun.GlobalSunJaasKerberosConfig
Enable debug logs from the Sun Kerberos Implementation.
setKrbConfLocation(String) - Method in class com.kerb4j.common.jaas.sun.GlobalSunJaasKerberosConfig
Kerberos config file location can be specified here.
SPNEGO_MECHANISM - Static variable in class com.kerb4j.common.util.SpnegoProvider
 
SPNEGO_OID - Static variable in class com.kerb4j.common.util.SpnegoProvider
GSS-API mechanism "1.3.6.1.5.5.2".
SpnegoAuthScheme - Class in com.kerb4j.common.util
Example schemes are "Negotiate" and "Basic".
SpnegoAuthScheme(String, String) - Constructor for class com.kerb4j.common.util.SpnegoAuthScheme
 
SpnegoClient - Class in com.kerb4j.client
This Class may be used by custom clients as a convenience when connecting to a protected HTTP server.
SpnegoContext - Class in com.kerb4j.client
 
SpnegoContext(SpnegoClient, GSSContext) - Constructor for class com.kerb4j.client.SpnegoContext
 
SpnegoProvider - Class in com.kerb4j.common.util
This is a Utility Class that can be used for finer grained control over message integrity, confidentiality and mutual authentication.
SUPPORTED_OIDS - Static variable in class com.kerb4j.common.util.SpnegoProvider
Note: The MIT Kerberos V5 mechanism OID is added for compatibility with Chromium-based browsers on POSIX OSes.
A B C G I J K L N P R S 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form