- accessControl - Variable in class net.sourceforge.spnego.SpnegoHttpFilter
-
Object for performing User Authorization.
- accessControl - Variable in class net.sourceforge.spnego.SpnegoHttpServletRequest
-
authZ framework interface.
- addRequestProperty(String, String) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Adds an HTTP Request property.
- ALLOW_BASIC - Static variable in class net.sourceforge.spnego.SpnegoHttpFilter.Constants
-
Servlet init param name in web.xml spnego.allow.basic.
- ALLOW_DELEGATION - Static variable in class net.sourceforge.spnego.SpnegoHttpFilter.Constants
-
Servlet init param name in web.xml spnego.allow.delegation.
- ALLOW_LOCALHOST - Static variable in class net.sourceforge.spnego.SpnegoHttpFilter.Constants
-
Servlet init param name in web.xml spnego.allow.localhost.
- ALLOW_UNSEC_BASIC - Static variable in class net.sourceforge.spnego.SpnegoHttpFilter.Constants
-
Servlet init param name in web.xml spnego.allow.unsecure.basic.
- allowBasic - Variable in class net.sourceforge.spnego.SpnegoAuthenticator
-
Flag to indicate if BASIC Auth is allowed.
- allowBasic - Variable in class net.sourceforge.spnego.SpnegoFilterConfig
-
true if Basic auth should be offered.
- allowDelegation - Variable in class net.sourceforge.spnego.SpnegoAuthenticator
-
Flag to indicate if credential delegation is allowed.
- allowDelegation - Variable in class net.sourceforge.spnego.SpnegoFilterConfig
-
true if server should support credential delegation requests.
- allowLocalhost - Variable in class net.sourceforge.spnego.SpnegoAuthenticator
-
Flag to skip auth if localhost.
- allowLocalhost - Variable in class net.sourceforge.spnego.SpnegoFilterConfig
-
true if request from localhost should not be authenticated.
- allowUnsecure - Variable in class net.sourceforge.spnego.SpnegoAuthenticator
-
Flag to indicate if non-SSL BASIC Auth allowed.
- allowUnsecure - Variable in class net.sourceforge.spnego.SpnegoFilterConfig
-
true if non-ssl for basic auth is allowed.
- ALPHABET - Static variable in class net.sourceforge.spnego.Base64
-
- ANY - Static variable in class net.sourceforge.spnego.LdapAccessControl
-
- anyAccess(String, String...) - Method in class net.sourceforge.spnego.LdapAccessControl
-
- anyAccess(String...) - Method in interface net.sourceforge.spnego.SpnegoAccessControl
-
Checks to see if the user has at least one of the passed-in user-defined
resource labels
- anyAccess(String...) - Method in class net.sourceforge.spnego.SpnegoHttpServletRequest
-
- anyAccess(String, String...) - Method in interface net.sourceforge.spnego.UserAccessControl
-
Checks to see if the given user has at least one of the passed-in
user-defined resource labels.
- anyRole(String, String...) - Method in class net.sourceforge.spnego.LdapAccessControl
-
- anyRole(String...) - Method in interface net.sourceforge.spnego.SpnegoAccessControl
-
Checks to see if the user has at least one of the passed-in attributes.
- anyRole(String...) - Method in class net.sourceforge.spnego.SpnegoHttpServletRequest
-
- anyRole(String, String...) - Method in interface net.sourceforge.spnego.UserAccessControl
-
Checks to see if the given user has at least one of the passed-in attributes.
- assertConnected() - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Throws IllegalStateException if this connection object has not yet created
a communications link to the specified URL.
- assertKeyValue(String, String) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Internal sanity check to validate not null key/value pairs.
- assertNotConnected() - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Throws IllegalStateException if this connection object has already created
a communications link to the specified URL.
- authenticate(HttpServletRequest, SpnegoHttpServletResponse) - Method in class net.sourceforge.spnego.SpnegoAuthenticator
-
Returns the KerberosPrincipal of the user/client making the HTTP request.
- authenticator - Variable in class net.sourceforge.spnego.SpnegoHttpFilter
-
Object for performing Basic and SPNEGO authentication.
- AUTHN_HEADER - Static variable in class net.sourceforge.spnego.SpnegoHttpFilter.Constants
-
HTTP Response Header WWW-Authenticate.
- AUTHZ_HEADER - Static variable in class net.sourceforge.spnego.SpnegoHttpFilter.Constants
-
HTTP Request Header Authorization.
- autoDisposeCreds - Variable in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Determines if the GSSCredentials (if any) used during the
connection request should be automatically disposed by
this class when finished.
- getAuthScheme(String) - Static method in class net.sourceforge.spnego.SpnegoProvider
-
- getAuthType() - Method in class net.sourceforge.spnego.SpnegoHttpServletRequest
-
Returns "Negotiate" or "Basic" else default auth type.
- getClientCredential(Subject) - Static method in class net.sourceforge.spnego.SpnegoProvider
-
Returns the GSS-API interface for creating a security context.
- getClientLoginModule() - Method in class net.sourceforge.spnego.SpnegoFilterConfig
-
Return the value defined in the servlet's init params
in the web.xml file.
- getDelegatedCredential() - Method in interface net.sourceforge.spnego.DelegateServletRequest
-
Returns the requester's delegated credential.
- getDelegatedCredential() - Method in class net.sourceforge.spnego.SpnegoHttpServletRequest
-
- getDelegatedCredential() - Method in class net.sourceforge.spnego.SpnegoPrincipal
-
Returns this Principal's delegated credential or null.
- getErrorStream() - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Returns an error stream that reads from this open connection.
- getExcludeDirs() - Method in class net.sourceforge.spnego.SpnegoFilterConfig
-
Return the value defined in the servlet's init params
in the web.xml file as a List object.
- getGSSContext(URL) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Returns a GSSContextt for the given url with a default lifetime.
- getGSSContext(GSSCredential, URL) - Static method in class net.sourceforge.spnego.SpnegoProvider
-
Returns a GSSContext to be used by custom clients to set
data integrity requirements, confidentiality and if mutual
authentication is required.
- getHeaderField(int) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Get header value at specified index.
- getHeaderField(String) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Get header value by header name.
- getHeaderFieldKey(int) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Get header field key at specified index.
- getInfo(String) - Method in interface net.sourceforge.spnego.UserInfo
-
Returns a list of info associated with the label.
- getInputStream() - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Returns an input stream that reads from this open connection.
- getInstance(FilterConfig) - Static method in class net.sourceforge.spnego.SpnegoFilterConfig
-
Returns the instance of the servlet's config parameters.
- getInstanceFollowRedirects() - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
- getLabels() - Method in interface net.sourceforge.spnego.UserInfo
-
Return a list of labels.
- getName() - Method in class net.sourceforge.spnego.SpnegoPrincipal
-
- getNameType() - Method in class net.sourceforge.spnego.SpnegoPrincipal
-
Returns the name type of the KerberosPrincipal.
- getOid() - Static method in class net.sourceforge.spnego.SpnegoProvider
-
Returns the Universal Object Identifier representation of
the SPNEGO mechanism.
- getOutputStream() - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Returns an output stream that writes to this open connection.
- getPreauthPassword() - Method in class net.sourceforge.spnego.SpnegoFilterConfig
-
Return the password to the pre-authentication domain account.
- getPreauthUsername() - Method in class net.sourceforge.spnego.SpnegoFilterConfig
-
Return the name of the pre-authentication domain account.
- getRealm() - Method in class net.sourceforge.spnego.SpnegoPrincipal
-
Returns the realm component of this Kerberos principal.
- getRemoteUser() - Method in class net.sourceforge.spnego.SpnegoHttpServletRequest
-
Returns authenticated username (sans domain/realm) else default username.
- getResponseCode() - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Returns HTTP Status code.
- getResponseMessage() - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Returns HTTP Status message.
- getScheme() - Method in class net.sourceforge.spnego.SpnegoAuthScheme
-
Returns HTTP Authorization scheme.
- getServerCredential(Subject) - Static method in class net.sourceforge.spnego.SpnegoProvider
-
Returns the
GSSCredential
the server uses for pre-authentication.
- getServerLoginModule() - Method in class net.sourceforge.spnego.SpnegoFilterConfig
-
Return the value defined in the servlet's init params
in the web.xml file.
- getServerName(URL) - Static method in class net.sourceforge.spnego.SpnegoProvider
-
Returns the
GSSName
constructed out of the passed-in
URL object.
- getServerRealm() - Method in class net.sourceforge.spnego.SpnegoAuthenticator
-
- getToken() - Method in class net.sourceforge.spnego.SpnegoAuthScheme
-
Returns a copy of byte[].
- getUserInfo(String) - Method in class net.sourceforge.spnego.LdapAccessControl
-
Returns a user info object if specified in web.xml or the spnego.policy file.
- getUserInfo() - Method in interface net.sourceforge.spnego.SpnegoAccessControl
-
Returns the user's info object.
- getUserInfo() - Method in class net.sourceforge.spnego.SpnegoHttpServletRequest
-
- getUserInfo(String) - Method in interface net.sourceforge.spnego.UserAccessControl
-
Returns the user's info object for the given user.
- getUsernamePasswordHandler(String, String) - Static method in class net.sourceforge.spnego.SpnegoProvider
-
Used by the BASIC Auth mechanism for establishing a LoginContext
to authenticate a client/caller/request.
- getUserPrincipal() - Method in class net.sourceforge.spnego.SpnegoHttpServletRequest
-
Returns KerberosPrincipal of user.
- scheme - Variable in class net.sourceforge.spnego.SpnegoAuthScheme
-
HTTP (Request) "Authorization" Header scheme.
- sequenceDetection - Variable in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
GSSContext request Sequence Detection.
- SERVER_MODULE - Static variable in class net.sourceforge.spnego.SpnegoHttpFilter.Constants
-
Servlet init param name in web.xml spnego.login.server.module.
- SERVER_REALM - Static variable in class net.sourceforge.spnego.LdapAccessControl
-
- serverCredentials - Variable in class net.sourceforge.spnego.SpnegoAuthenticator
-
Credentials server uses for authenticating requests.
- serverLoginModule - Variable in class net.sourceforge.spnego.SpnegoFilterConfig
-
name of the server login module.
- serverPrincipal - Variable in class net.sourceforge.spnego.SpnegoAuthenticator
-
Server Principal used for pre-authentication.
- setBasicSupport(String, String) - Method in class net.sourceforge.spnego.SpnegoFilterConfig
-
Specify if Basic authentication is allowed and if un-secure/non-ssl
Basic should be allowed.
- setConfidentiality(boolean) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Specify if GSSContext should request Confidentiality.
- setInstanceFollowRedirects(boolean) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
- setLogLevel(String) - Method in class net.sourceforge.spnego.SpnegoFilterConfig
-
Specify the logging level.
- setMessageIntegrity(boolean) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Specify if GSSContext should request Message Integrity.
- setMutualAuth(boolean) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Specify if GSSContext should request Mutual Auth.
- setNtlmSupport(String) - Method in class net.sourceforge.spnego.SpnegoFilterConfig
-
If request contains NTLM token, specify if a 401 should
be sent back to client with Basic Auth as the only
available authentication scheme.
- setReplayDetection(boolean) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Specify if if GSSContext should request should request Replay Detection.
- setRequestMethod(String) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
May override the default GET method.
- setRequestProperty(String, String) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Sets an HTTP Request property.
- setSequenceDetection(boolean) - Method in class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Specify if if GSSContext should request Sequence Detection.
- setStatus(int) - Method in class net.sourceforge.spnego.SpnegoHttpServletResponse
-
- setStatus(int, boolean) - Method in class net.sourceforge.spnego.SpnegoHttpServletResponse
-
Sets the HTTP Status Code and optionally set the the content
length to zero and flush the buffer.
- setUsernamePassword(String, String) - Method in class net.sourceforge.spnego.SpnegoFilterConfig
-
Set the username and password if specified in web.xml's init params.
- sitewide - Variable in class net.sourceforge.spnego.SpnegoHttpFilter
-
AuthZ required for every page.
- SOAP_ACTION - Static variable in class net.sourceforge.spnego.SpnegoHttpFilter.Constants
-
HTTP Request Header SOAPAction.
- split(String) - Static method in class net.sourceforge.spnego.SpnegoFilterConfig
-
- SPNEGO_OID - Static variable in class net.sourceforge.spnego.SpnegoProvider
-
GSS-API mechanism "1.3.6.1.5.5.2".
- SpnegoAccessControl - Interface in net.sourceforge.spnego
-
Defines an object for performing user authorization (authZ).
- SpnegoAuthenticator - Class in net.sourceforge.spnego
-
- SpnegoAuthenticator(SpnegoFilterConfig) - Constructor for class net.sourceforge.spnego.SpnegoAuthenticator
-
Create an authenticator for SPNEGO and/or BASIC authentication.
- SpnegoAuthenticator(Map<String, String>) - Constructor for class net.sourceforge.spnego.SpnegoAuthenticator
-
Create an authenticator for SPNEGO and/or BASIC authentication.
- SpnegoAuthenticator(String, SpnegoFilterConfig) - Constructor for class net.sourceforge.spnego.SpnegoAuthenticator
-
Create an authenticator for SPNEGO and/or BASIC authentication.
- SpnegoAuthScheme - Class in net.sourceforge.spnego
-
Example schemes are "Negotiate" and "Basic".
- SpnegoAuthScheme(String, String) - Constructor for class net.sourceforge.spnego.SpnegoAuthScheme
-
- SpnegoFilterConfig - Class in net.sourceforge.spnego
-
Class that applies/enforces web.xml init params.
- SpnegoFilterConfig() - Constructor for class net.sourceforge.spnego.SpnegoFilterConfig
-
- SpnegoFilterConfig(FilterConfig) - Constructor for class net.sourceforge.spnego.SpnegoFilterConfig
-
Class is a Singleton.
- SpnegoHttpFilter - Class in net.sourceforge.spnego
-
Http Servlet Filter that provides
SPNEGO authentication.
- SpnegoHttpFilter() - Constructor for class net.sourceforge.spnego.SpnegoHttpFilter
-
- SpnegoHttpFilter.Constants - Class in net.sourceforge.spnego
-
Defines constants and parameter names that are used in the
web.xml file, and HTTP request headers, etc.
- SpnegoHttpServletRequest - Class in net.sourceforge.spnego
-
Wrap ServletRequest so we can do our own handling of the
principal and auth types.
- SpnegoHttpServletRequest(HttpServletRequest, SpnegoPrincipal) - Constructor for class net.sourceforge.spnego.SpnegoHttpServletRequest
-
Creates Servlet Request specifying KerberosPrincipal of user.
- SpnegoHttpServletRequest(HttpServletRequest, SpnegoPrincipal, UserAccessControl) - Constructor for class net.sourceforge.spnego.SpnegoHttpServletRequest
-
Creates Servlet Request specifying KerberosPrincipal of user
and a specified User Access Control (authZ).
- SpnegoHttpServletResponse - Class in net.sourceforge.spnego
-
Class adds capability to track/determine if the HTTP Status
code has been set.
- SpnegoHttpServletResponse(HttpServletResponse) - Constructor for class net.sourceforge.spnego.SpnegoHttpServletResponse
-
- SpnegoHttpURLConnection - Class in net.sourceforge.spnego
-
This Class may be used by custom clients as a convenience when connecting
to a protected HTTP server.
- SpnegoHttpURLConnection(String) - Constructor for class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Creates an instance where the LoginContext relies on a keytab
file being specified by "java.security.auth.login.config" or
where LoginContext relies on tgtsessionkey.
- SpnegoHttpURLConnection(GSSCredential) - Constructor for class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Create an instance where the GSSCredential is specified by the parameter
and where the GSSCredential is automatically disposed after use.
- SpnegoHttpURLConnection(GSSCredential, boolean) - Constructor for class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Create an instance where the GSSCredential is specified by the parameter
and whether the GSSCredential should be disposed after use.
- SpnegoHttpURLConnection(String, String, String) - Constructor for class net.sourceforge.spnego.SpnegoHttpURLConnection
-
Creates an instance where the LoginContext does not require a keytab
file.
- SpnegoPrincipal - Class in net.sourceforge.spnego
-
This class encapsulates a KerberosPrincipal.
- SpnegoPrincipal(String) - Constructor for class net.sourceforge.spnego.SpnegoPrincipal
-
Constructs a SpnegoPrincipal from the provided String input.
- SpnegoPrincipal(String, int) - Constructor for class net.sourceforge.spnego.SpnegoPrincipal
-
Constructs a SpnegoPrincipal from the provided String input
and name type input.
- SpnegoPrincipal(String, int, GSSCredential) - Constructor for class net.sourceforge.spnego.SpnegoPrincipal
-
Constructs a SpnegoPrincipal from the provided String input
and name type input.
- SpnegoProvider - Class in net.sourceforge.spnego
-
This is a Utility Class that can be used for finer grained control
over message integrity, confidentiality and mutual authentication.
- SpnegoProvider() - Constructor for class net.sourceforge.spnego.SpnegoProvider
-
- SpnegoSOAPConnection - Class in net.sourceforge.spnego
-
This class can be used to make SOAP calls to a protected SOAP Web Service.
- SpnegoSOAPConnection(String) - Constructor for class net.sourceforge.spnego.SpnegoSOAPConnection
-
Creates an instance where the LoginContext relies on a keytab
file being specified by "java.security.auth.login.config" or
where LoginContext relies on tgtsessionkey.
- SpnegoSOAPConnection(GSSCredential) - Constructor for class net.sourceforge.spnego.SpnegoSOAPConnection
-
Create an instance where the GSSCredential is specified by the parameter
and where the GSSCredential is automatically disposed after use.
- SpnegoSOAPConnection(GSSCredential, boolean) - Constructor for class net.sourceforge.spnego.SpnegoSOAPConnection
-
Create an instance where the GSSCredential is specified by the parameter
and whether the GSSCredential should be disposed after use.
- SpnegoSOAPConnection(GSSCredential, boolean, boolean, boolean) - Constructor for class net.sourceforge.spnego.SpnegoSOAPConnection
-
Create an instance where the GSSCredential is specified by the parameter
and whether the GSSCredential should be disposed after use.
- SpnegoSOAPConnection(String, String, String) - Constructor for class net.sourceforge.spnego.SpnegoSOAPConnection
-
Creates an instance where the LoginContext does not require a keytab
file.
- srchCntrls - Variable in class net.sourceforge.spnego.LdapAccessControl
-
- statusSet - Variable in class net.sourceforge.spnego.SpnegoHttpServletResponse
-