A B C D E F G H I J K L M N O P R S T U V W 

A

abort() - Method in class jespa.security.LoginModule
 
acceptSecContext(byte[], int, int) - Method in class jespa.ntlm.NtlmSecurityProvider
Accept an NTLMSSP token and validate the NTLM "response" supplied by the initiator with the NtlmSecurityProvider.authenticate(java.lang.Object) method (which by default calls the configured NETLOGON service).
acceptSecContext(byte[], int, int) - Method in class jespa.security.ChainSecurityProvider
Call acceptSecContext on each SecurityProvider in the chain until the supplied token is successfully processed.
acceptSecContext(byte[], int, int) - Method in class jespa.security.SecurityProvider
Accept authentication with another peer by exchanging tokens.
Account - Interface in jespa.security
A map of attributes representing an account in an identity management system such as Microsoft Active directory, an LDAP server or perhaps an SQL database.
addRequestProperty(String, String) - Method in class jespa.http.HttpURLConnection
 
advance(int) - Method in class jespa.io.ByteBuffer
Advance the current buffer index by n.
align(int) - Method in class jespa.io.ByteBuffer
Advance the current buffer index to the next multiple of boundry.
align(int, byte) - Method in class jespa.io.ByteBuffer
Advance the current buffer index to the next multiple of boundry and fill any padding bytes with the supplied byte value.
ALL_ATTRS - Static variable in class jespa.ldap.LdapEntry
Used as a parameter with LdapEntry.create(String[]) and LdapEntry.update(String[]) to indicate that "all attributes" of this entry should be created or updated.
ALL_ATTRS - Static variable in interface jespa.security.Account
Used as a parameter with some methods to specify "all attributes".
authenticate(Object) - Method in class jespa.examples.WordPressSecurityProvider
 
authenticate(Object) - Method in class jespa.ldap.LdapSecurityProvider
Attempt to bind the target LDAP service using the supplied credentials.
authenticate(Object) - Method in class jespa.ntlm.NtlmSecurityProvider
Validate a PasswordCredential or NtlmResponse object with the configured NETLOGON service.
authenticate(Object) - Method in class jespa.security.ChainSecurityProvider
Call authenticate on each SecurityProvider in the chain until the supplied credentials are successfully authenticated.
authenticate(Object) - Method in class jespa.security.SecurityProvider
Validates the supplied credential with this provider's authority.

B

buf - Variable in class jespa.io.ByteBuffer
 
ByteBuffer - Class in jespa.io
This class encapsulates a byte array with start, index and length state and is used to encode and decode arbitrary binary formats.
ByteBuffer(byte[], int, int) - Constructor for class jespa.io.ByteBuffer
Create a buffer with the supplied array with data at offset off of size len.
ByteBuffer() - Constructor for class jespa.io.ByteBuffer
Create an empty buffer.

C

canonicalForm - Variable in class jespa.security.SecurityPrincipal
 
canonicalizeDn(String) - Static method in class jespa.ldap.LdapSecurityProvider
Remove extraneous spaces from a DN or RDN.
ChainSecurityProvider - Class in jespa.security
A wrapper SecurityProvider around a "chain" of SecurityProviders.
ChainSecurityProvider(Map) - Constructor for class jespa.security.ChainSecurityProvider
 
changePassword(char[], char[]) - Method in class jespa.examples.WordPressAccount
Changes the password for this account to the new password only if the old password is correct.
changePassword(char[], char[]) - Method in class jespa.ldap.LdapAccount
Change the password of this account to the supplied value but only if the supplied current password is correct.
changePassword(char[], char[]) - Method in interface jespa.security.Account
Change the password for this account in the SecurityProvider authority but only if the supplied old password is correct.
clear() - Method in class jespa.ldap.LdapEntry
This method of the Map interface is currently not implemented.
commit() - Method in class jespa.security.LoginModule
 
compact() - Method in class jespa.io.ByteBuffer
This will invalidate any derived buffers.
connect() - Method in class jespa.http.HttpURLConnection
 
containsKey(Object) - Method in class jespa.ldap.LdapEntry
Return true if this entry contains the named attribute.
containsValue(Object) - Method in class jespa.ldap.LdapEntry
This method of the Map interface is currently not implemented.
conv - Variable in class jespa.ldap.LdapAttrDef
 
CONV_BASE64_X_BINARY - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Conversions section
CONV_DATESTR_X_TIME1601 - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Conversions section
CONV_DATESTR_X_TIMEUTC - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Conversions section
CONV_HEXSTRING_X_BINARY - Static variable in class jespa.ldap.LdapAttrDef
Reserved, do not use.
CONV_INT32_X_STRING - Static variable in class jespa.ldap.LdapAttrDef
Reserved, do not use.
CONV_SID_X_BINARY - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Conversions section
CONV_STRING_X_BINARY - Static variable in class jespa.ldap.LdapAttrDef
Reserved, do not use.
CONV_TIME1970M_X_TIME1601 - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Conversions section
CONV_TIME1970M_X_TIMEUTC - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Conversions section
create(String[]) - Method in class jespa.examples.WordPressAccount
Create a new account in the WordPress database with selected attribute values of this object.
create() - Method in class jespa.examples.WordPressAccount
Create a new account in the WordPress database with all of the attributes of this object.
create(String[]) - Method in class jespa.ldap.LdapEntry
Create a new entry with this entry's Distinguished Name in the LDAP directory identified by the underlying LdapSecurityProvider.
create() - Method in class jespa.ldap.LdapEntry
Create a new entry with this entry's Distinguished Name in the LDAP directory identified by the underlying LdapSecurityProvider.
create(String[]) - Method in interface jespa.security.Account
Create a new account in the SecurityProvider authority with selected attribute values of this object.
create() - Method in interface jespa.security.Account
Create a new account in the SecurityProvider with all attribute values of this object.

D

db - Variable in class jespa.io.ByteBuffer
 
de - Variable in class jespa.io.ByteBuffer
 
decodeBytes(byte[], int, int) - Method in class jespa.io.ByteBuffer
Copy the bytes from the underlying byte array into the supplied byte array and advance the current buffer index.
decodeObject(ByteBuffer) - Method in class jespa.examples.WordPressSecurityProvider
 
decodeObject(ByteBuffer) - Method in class jespa.ldap.LdapSecurityProvider
Deserialize an LdapSecurityProvider, it's properties and any sub-objects that constitute it's state from the supplied buffer.
decodeObject(ByteBuffer) - Method in class jespa.ntlm.NtlmSecurityProvider
Used by importState to decode individual elements of this provider from a ByteBuffer
decodeUint16be() - Method in class jespa.io.ByteBuffer
 
decodeUint16le() - Method in class jespa.io.ByteBuffer
 
decodeUint32be() - Method in class jespa.io.ByteBuffer
 
decodeUint32le() - Method in class jespa.io.ByteBuffer
 
decodeUint64be() - Method in class jespa.io.ByteBuffer
 
decodeUint64le() - Method in class jespa.io.ByteBuffer
 
decodeUint8() - Method in class jespa.io.ByteBuffer
 
delete() - Method in class jespa.examples.WordPressAccount
Delete an existing account in the WordPress database.
delete() - Method in class jespa.ldap.LdapEntry
Delete the existing entry with this entry's Distinguished Name from the LDAP directory identified by the underlying LdapSecurityProvider.
delete() - Method in interface jespa.security.Account
Delete an existing account in the SecurityProvider authority.
derive(int) - Method in class jespa.io.ByteBuffer
Return a new ByteBuffer that shares the same underlying buffer, start and length but with an independent index.
destroy() - Method in class jespa.http.HttpSecurityService
This method closes the log stream opened if the jespa.log.path property is set.
destroy() - Method in class jespa.security.PasswordCredential
Scrub the plaintext password characters.
di - Variable in class jespa.io.ByteBuffer
 
disconnect() - Method in class jespa.http.HttpURLConnection
 
dispose() - Method in class jespa.examples.WordPressSecurityProvider
 
dispose() - Method in class jespa.ldap.LdapSecurityProvider
Remove the service.password.encrypted property and destroy any underlying InitialLdapContext.
dispose() - Method in class jespa.ntlm.NtlmSecurityProvider
Destroy the server challenge and any credential acquired during authentication.
dispose() - Method in class jespa.sasl.SaslClient
 
dispose() - Method in class jespa.sasl.SaslServer
 
dispose() - Method in class jespa.security.ChainSecurityProvider
Dispose the currently selected SecurityProvider in the chain if any.
dispose() - Method in class jespa.security.SecurityProvider
Destroy any sensitive cryptographic material used by this SecurityProvider.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class jespa.http.HttpSecurityService
The HttpSecurityService request handler.
Domain - Interface in jespa.security
A simple map of properties representing a Domain in an identity management system.
domain - Variable in class jespa.security.SecurityPrincipal
 

E

encodeBytes(byte[], int, int) - Method in class jespa.io.ByteBuffer
Copy the supplied bytes into the underlying byte array and advance the current buffer index.
encodeObject(ByteBuffer, Object) - Method in class jespa.examples.WordPressSecurityProvider
 
encodeObject(ByteBuffer, Object) - Method in class jespa.ldap.LdapSecurityProvider
Serialize an LdapSecurityProvider, it's properties and any sub-objects (such as the LdapAccount) that constitute it's state into the supplied buffer.
encodeObject(ByteBuffer, Object) - Method in class jespa.ntlm.NtlmSecurityProvider
Used by exportState to encode individual elements of this provider into a ByteBuffer
encodeObject(ByteBuffer, Object) - Method in class jespa.security.ChainSecurityProvider
Serialize this ChainSecurityProvider and underlying currently selected SecurityProvider into the supplied buffer.
encodeUint16be(int) - Method in class jespa.io.ByteBuffer
 
encodeUint16le(int) - Method in class jespa.io.ByteBuffer
 
encodeUint32be(int) - Method in class jespa.io.ByteBuffer
 
encodeUint32le(int) - Method in class jespa.io.ByteBuffer
 
encodeUint64be(long) - Method in class jespa.io.ByteBuffer
 
encodeUint64le(long) - Method in class jespa.io.ByteBuffer
 
encodeUint8(int) - Method in class jespa.io.ByteBuffer
 
EncodingException - Exception in jespa.io
 
EncodingException(String) - Constructor for exception jespa.io.EncodingException
 
EncodingException(String, Throwable) - Constructor for exception jespa.io.EncodingException
 
ensureSpace(int) - Method in class jespa.io.ByteBuffer
If necessary, the underlying byte array to be resized to accommodate the specified amount of space relative to the current buffer index.
entrySet() - Method in class jespa.ldap.LdapEntry
Return a Set of Map.Entry objects representing the attributes of this entry.
equals(Object) - Method in class jespa.ldap.LdapEntry
Return true only if the DN, attribute names and values of the supplied LdapEntry are equal to the DN, attribute names and values of this entry.
equals(Object) - Method in class jespa.ntlm.NtlmResponse
 
equals(Object) - Method in class jespa.security.SecurityPrincipal
Compare two principals for equality using a case insensitive comparison of the username and domain.
escapeDnValue(String) - Static method in class jespa.ldap.LdapSecurityProvider
Return the supplied string but with all characters reserved for DNs escaped as defined in RFC2253.
escapeFilterValue(String) - Static method in class jespa.ldap.LdapSecurityProvider
Return the supplied string but with all characters reserved for LDAP filters escaped as defined in RFC2254.
evaluateChallenge(byte[]) - Method in class jespa.sasl.SaslClient
 
evaluateResponse(byte[]) - Method in class jespa.sasl.SaslServer
 
EXPIRES_NEVER - Static variable in class jespa.ldap.LdapAccount
For attributes that represent an expiration date, this value is returned to indicate that the target will never expire.
exportState() - Method in class jespa.examples.WordPressSecurityProvider
 
exportState() - Method in class jespa.ldap.LdapSecurityProvider
Returns a compact byte[] array representing the state of this security provider.
exportState() - Method in class jespa.ntlm.NtlmSecurityProvider
Returns a compact byte[] array representing the state of this security provider.
exportState() - Method in class jespa.security.ChainSecurityProvider
Return a byte[] array representing the complete state of the currently selected SecurityProvider so that it can be reconstituted later (by possibly another thread) with the ChainSecurityProvider.importState(java.lang.Object) method.
exportState() - Method in class jespa.security.SecurityProvider
Returns an Object representing the current state of this SecurityProvider.

F

FLAG_CASE_EXACT - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Flags section
FLAG_CONSTRUCTED - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Flags section
FLAG_DN - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Flags section
FLAG_PROTECTED - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Flags section
FLAG_SINGLE_VALUED - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Flags section
FLAG_UNDEFINED - Static variable in class jespa.ldap.LdapAttrDef
Reserved, do not use.
flags - Variable in class jespa.ldap.LdapAttrDef
 
frame - Variable in class jespa.io.ByteBuffer
 

G

get(Object) - Method in class jespa.ldap.LdapEntry
Retrieve the named attribute value or return null if this entry does not contain the named attribute.
getAccount(String, String[]) - Method in class jespa.examples.WordPressSecurityProvider
 
getAccount(String, String[]) - Method in class jespa.ldap.LdapSecurityProvider
Return an LdapAccount instance representing the named account.
getAccount(String, String[]) - Method in class jespa.ntlm.NtlmSecurityProvider
Retrieve an Account object representing the named account and populate it (an Account is also a Map) with the attributes listed in the attrs array.
getAccount(String, String[]) - Method in class jespa.security.ChainSecurityProvider
Call getAccount on the currently selected SecurityProvider in the chain.
getAccount(String, String[]) - Method in class jespa.security.SecurityProvider
Retrieve an Account object representing the named account and populate it (an Account is also a Map) with the attributes listed in the attrs array.
getAuthorizationID() - Method in class jespa.sasl.SaslServer
 
getAuthType() - Method in class jespa.http.HttpSecurityServletRequest
If the NtlmSecurityProvider was used to authenticate this request, this method returns "NTLM".
getBuffer() - Method in class jespa.io.ByteBuffer
 
getCanonicalForm() - Method in class jespa.security.SecurityPrincipal
 
getCanonicalName(int) - Method in class jespa.security.SecurityPrincipal
Return the full principal name in the desired canonical form (see table of values above).
getCode() - Method in exception jespa.security.SecurityProviderException
 
getConnectionId(HttpServletRequest) - Method in class jespa.http.HttpSecurityService
This protected method is called by doFilter to compute a String that uniquely identifies the client's connection so that stateful multi-request authentication can be conducted with multiple independent clients concurrently.
getDefaults(String) - Static method in class jespa.ldap.LdapAttrDef
 
getDomain() - Method in class jespa.ntlm.NtlmResponse
 
getDomain(String, String[]) - Method in class jespa.ntlm.NtlmSecurityProvider
Retrieve a Domain object representing the named domain and populate it (a Domain is also a Map) with the attributes listed in the attrs array.
getDomain(String, String[]) - Method in class jespa.security.ChainSecurityProvider
Call getDomain on the currently selected SecurityProvider in the chain.
getDomain() - Method in class jespa.security.SecurityPrincipal
Return the domain component of this principal name.
getDomain(String, String[]) - Method in class jespa.security.SecurityProvider
Retrieve a Domain object representing the named domain and populate it (a Domain is also a Map) with the attributes listed in the attrs array.
getEntry(Object, String[]) - Method in class jespa.ldap.LdapSecurityProvider
Return an LdapEntry constructed of the named attributes for the entry identified by the key parameter.
getFlag(String) - Method in class jespa.ntlm.NtlmSecurityProvider
Retrieve the named security flag as a boolean.
getFlag(String) - Method in class jespa.security.ChainSecurityProvider
Call getFlag on the currently selected SecurityProvider in the chain.
getFlag(String) - Method in class jespa.security.SecurityProvider
Retrieve the named security flag as a boolean.
getFrame() - Method in class jespa.io.ByteBuffer
Get the frame index relative to the "start" position.
getHeaderField(String) - Method in class jespa.http.HttpURLConnection
 
getHeaderField(int) - Method in class jespa.http.HttpURLConnection
 
getHeaderFieldKey(int) - Method in class jespa.http.HttpURLConnection
 
getHeaderFields() - Method in class jespa.http.HttpURLConnection
 
getIdentity() - Method in class jespa.security.ChainSecurityProvider
Call getIdentity on the currently selected SecurityProvider in the chain.
getIdentity() - Method in class jespa.security.SecurityProvider
Retrieve the account name of the currently authenticated user or null if no applicable authentication has occured.
getIndex() - Method in class jespa.io.ByteBuffer
Get the current index relative to the "start" position.
getInputStream() - Method in class jespa.http.HttpURLConnection
 
getInstance() - Static method in class jespa.util.LogStream
Get the shared static log stream instance.
getLength() - Method in class jespa.io.ByteBuffer
Get the length of the data in the buffer.
getMechanismName() - Method in class jespa.sasl.SaslClient
 
getMechanismName() - Method in class jespa.sasl.SaslServer
 
getName() - Method in class jespa.security.ChainSecurityProvider
Call getName on the currently selected SecurityProvider in the chain.
getName() - Method in class jespa.security.SecurityPrincipal
Return the full principal name in the canonical form in which it was supplied or in principal name form (2) if the domain and username were supplied separately.
getName() - Method in class jespa.security.SecurityProvider
 
getNegotiatedProperty(String) - Method in class jespa.sasl.SaslClient
 
getNegotiatedProperty(String) - Method in class jespa.sasl.SaslServer
 
getOptionAsBoolean(String, boolean) - Method in class jespa.security.LoginModule
 
getOutputStream() - Method in class jespa.http.HttpURLConnection
 
getPassword() - Method in class jespa.security.PasswordCredential
Return the plaintext password.
getProperty(String, Object) - Method in class jespa.examples.WordPressAccount
Retrieve account attribtues and properties of this account instance.
getProperty(String, Object) - Method in class jespa.examples.WordPressSecurityProvider
 
getProperty(String, Object) - Method in class jespa.ldap.LdapEntry
Return the named attribute or the supplied default value if this entry does not contain the named attribute.
getProperty(String, Object) - Method in class jespa.ldap.LdapSecurityProvider
Retrieve a property by name or return the supplied default value if the property is not set.
getProperty(String, Object) - Method in class jespa.ntlm.NtlmSecurityProvider
Retrieve a property by name or return the supplied default value if the property is not set.
getProperty(String, Object) - Method in interface jespa.security.Account
Retrieve an account attribute or property.
getProperty(String) - Method in interface jespa.security.Account
Retrieve an account attribute or property or throw an exception if it has no value.
getProperty(String, Object) - Method in class jespa.security.ChainSecurityProvider
Call getProperty on the currently selected SecurityProvider in the chain (unless the property is specific to the ChainSecurityProvider).
getProperty(String, Object) - Method in class jespa.security.SecurityProvider
Retrieve a property by name or return the supplied default value if the property is not set.
getRemaining() - Method in class jespa.io.ByteBuffer
Return the amount of data in the buffer relative to the current index.
getRemoteUser() - Method in class jespa.http.HttpSecurityServletRequest
Return the canonicalized username of the authenticated user.
getRequestCredential(HttpServletRequest) - Method in class jespa.http.HttpSecurityService
This protected method is called by doFilter to both a) determine if explicit credential based authentication should be performed and b) retrieve that credential for authentication.
getRequestPath(HttpServletRequest) - Method in class jespa.http.HttpSecurityService
This protected method is called internally to obtain the canonicalized and decoded path of the HTTP request.
getSecurityPrincipal() - Method in class jespa.security.PasswordCredential
Return the security principal for this credential.
getSecurityProvider() - Method in class jespa.http.HttpSecurityServletRequest
Return the SecurityProvider used to authenticate the user.
getSecurityProvider() - Method in class jespa.security.ChainSecurityProvider
Return the currently selected SecurityProvider.
getServletContext() - Method in class jespa.http.HttpSecurityService
Returns the ServletContext provided to init.
getStart() - Method in class jespa.io.ByteBuffer
Return the "start" position.
getTailspace() - Method in class jespa.io.ByteBuffer
Return the amount of space available at the end of the buffer.
getTargetInformation() - Method in class jespa.ntlm.NtlmSecurityProvider
Return the NTLMSSP "target information" block used to compute an NTLM response.
getUsername() - Method in class jespa.ntlm.NtlmResponse
 
getUsername() - Method in class jespa.security.SecurityPrincipal
Return the username component of this principal name.
getUserPrincipal() - Method in class jespa.http.HttpSecurityServletRequest
Returns an instance of SecurityPrincipal.

H

hashCode() - Method in class jespa.ldap.LdapEntry
Returns a hash code for the underlying attribute list of this entry.
hashCode() - Method in class jespa.security.SecurityPrincipal
Return a hash value for the name and possibly domain.
hasInitialResponse() - Method in class jespa.sasl.SaslClient
 
hexdump(PrintStream, int, int) - Method in class jespa.io.ByteBuffer
 
HttpRetryException - Class in jespa.http
WARNING: EVEN IF DECLARED PUBLIC, CLASSES OR INTERFACES THAT ARE NOT LISTED IN THE STOCK JESPA API DOCUMENTATION ARE NOT SUPPORTED AND MAY CHANGE AT ANY TIME WITHOUT NOTICE.
HttpSecurityFilter - Class in jespa.http
A Servlet Filter that implements a variety of security features for HTTP services using the HttpSecurityService.
HttpSecurityFilter() - Constructor for class jespa.http.HttpSecurityFilter
 
HttpSecurityService - Class in jespa.http
This class implements a variety of HTTP security features including authentication and authorization using a SecurityProvider.
HttpSecurityService() - Constructor for class jespa.http.HttpSecurityService
 
HttpSecurityServletRequest - Class in jespa.http
The class is the HttpServletRequest implementation used by the HttpSecurityService.
HttpSecurityServletRequest(HttpServletRequest, HttpSecurityService, SecurityProvider) - Constructor for class jespa.http.HttpSecurityServletRequest
 
HttpURLConnection - Class in jespa.http
A java.net.HttpURLConnection implementation that supports NTLM (including NTLMv2).
HttpURLConnection(URL) - Constructor for class jespa.http.HttpURLConnection
 

I

identity - Variable in class jespa.security.SecurityProvider
The identity of the currently authenticated user such as through acceptSecContext.
importState(Object) - Method in class jespa.examples.WordPressSecurityProvider
 
importState(Object) - Method in class jespa.ldap.LdapSecurityProvider
Initialize this security provider with a byte[] array returned in a previous call to LdapSecurityProvider.exportState() with another instance of this security provider.
importState(Object) - Method in class jespa.ntlm.NtlmSecurityProvider
Initialize this security provider with a byte[] array returned in a previous call to NtlmSecurityProvider.exportState() with another instance of this security provider.
importState(Object) - Method in class jespa.security.ChainSecurityProvider
Initialize and set as the currrently selected SecurityProvider to the SecurityProvider deserialized from the state Object returned by a previous call to ChainSecurityProvider.exportState().
importState(Object) - Method in class jespa.security.SecurityProvider
Initializes a SecurityProvider with the state Object returned in a previous call to SecurityProvider.exportState().
init(FilterConfig) - Method in class jespa.http.HttpSecurityFilter
 
init(Map) - Method in class jespa.http.HttpSecurityService
init(String, ServletContext, Map) - Method in class jespa.http.HttpSecurityService
Initialize this HttpSecurityService with the supplied name, ServletContext and properties.
initialize(Subject, CallbackHandler, Map, Map) - Method in class jespa.security.LoginModule
 
initSecContext(byte[], int, int) - Method in class jespa.ntlm.NtlmSecurityProvider
Initiate NTLM authentication with another peer by exchanging NTLMSSP tokens.
initSecContext(byte[], int, int) - Method in class jespa.security.SecurityProvider
Initiate authentication with another peer by exchanging tokens.
isAllowedAccess(SecurityProvider, HttpServletRequest, HttpServletResponse) - Method in class jespa.http.HttpSecurityService
This protected method is called by doFilter after authentication to determine if the client is allowed access to resources protected by this HttpSecurityService.
isAnonymous(HttpServletRequest) - Method in class jespa.http.HttpSecurityService
This protected method is called by doFilter to determine if the special "anonymous" identity should be installed.
isComplete() - Method in class jespa.ntlm.NtlmSecurityProvider
 
isComplete() - Method in class jespa.sasl.SaslClient
 
isComplete() - Method in class jespa.sasl.SaslServer
 
isComplete() - Method in class jespa.security.ChainSecurityProvider
Call isComplete on the currently selected SecurityProvider in the chain.
isComplete - Variable in class jespa.security.SecurityProvider
Indicates that an authentication using initSecContext or acceptSecContext has been completed.
isComplete() - Method in class jespa.security.SecurityProvider
isEmpty() - Method in class jespa.ldap.LdapEntry
Return true if this entry contains no attributes.
isLogout(HttpServletRequest) - Method in class jespa.http.HttpSecurityService
This protected method is called by doFilter to determine if this is a request to "logout" the current user.
isMemberOf(String) - Method in class jespa.examples.WordPressAccount
Returns true if this account has the specified role.
isMemberOf(String) - Method in class jespa.ldap.LdapAccount
Return true only if this account is a member of the named group.
isMemberOf(String) - Method in interface jespa.security.Account
Return true only if this Account is a member of the named group.
isProtected(HttpServletRequest) - Method in class jespa.http.HttpSecurityService
This protected method is called by doFilter to determine if the request is for a protected resource which may only be accessed by an authenticated client.
isUserInRole(String) - Method in class jespa.http.HttpSecurityServletRequest
Returns true if the authenticated user is in the supplied Windows group or if the name refers to their own account name.

J

JCAProvider - Class in jespa.security
This class is used only to register the jespa.sasl.SaslClientFactory and jespa.sasl.SaslServerFactory implementations with the JCA.
JCAProvider() - Constructor for class jespa.security.JCAProvider
 
jespa.examples - package jespa.examples
 
jespa.http - package jespa.http
 
jespa.io - package jespa.io
 
jespa.ldap - package jespa.ldap
 
jespa.ntlm - package jespa.ntlm
 
jespa.sasl - package jespa.sasl
 
jespa.security - package jespa.security
 
jespa.util - package jespa.util
 

K

keySet() - Method in class jespa.ldap.LdapEntry
This method of the Map interface is currently not implemented.

L

LDAP_ADMINLIMIT_EXCEEDED - Static variable in exception jespa.ldap.LdapException
 
LDAP_AFFECTS_MULTIPLE_DSAS - Static variable in exception jespa.ldap.LdapException
 
LDAP_ALIAS_DEREF_PROBLEM - Static variable in exception jespa.ldap.LdapException
 
LDAP_ALIAS_PROBLEM - Static variable in exception jespa.ldap.LdapException
 
LDAP_ALREADY_EXISTS - Static variable in exception jespa.ldap.LdapException
 
LDAP_ASSERTION_FAILED - Static variable in exception jespa.ldap.LdapException
 
LDAP_AUTH_METHOD_NOT_SUPPORTED - Static variable in exception jespa.ldap.LdapException
 
LDAP_AUTH_UNKNOWN - Static variable in exception jespa.ldap.LdapException
 
LDAP_BUSY - Static variable in exception jespa.ldap.LdapException
 
LDAP_CANCELLED - Static variable in exception jespa.ldap.LdapException
 
LDAP_CANNOT_CANCEL - Static variable in exception jespa.ldap.LdapException
 
LDAP_CLIENT_LOOP - Static variable in exception jespa.ldap.LdapException
 
LDAP_COMPARE_FALSE - Static variable in exception jespa.ldap.LdapException
 
LDAP_COMPARE_TRUE - Static variable in exception jespa.ldap.LdapException
 
LDAP_CONFIDENTIALITY_REQUIRED - Static variable in exception jespa.ldap.LdapException
 
LDAP_CONNECT_ERROR - Static variable in exception jespa.ldap.LdapException
 
LDAP_CONSTRAINT_VIOLATION - Static variable in exception jespa.ldap.LdapException
 
LDAP_CONTROL_NOT_FOUND - Static variable in exception jespa.ldap.LdapException
 
LDAP_CUP_INVALID_DATA - Static variable in exception jespa.ldap.LdapException
 
LDAP_CUP_RELOAD_REQUIRED - Static variable in exception jespa.ldap.LdapException
 
LDAP_CUP_RESOURCES_EXHAUSTED - Static variable in exception jespa.ldap.LdapException
 
LDAP_CUP_SECURITY_VIOLATION - Static variable in exception jespa.ldap.LdapException
 
LDAP_CUP_UNSUPPORTED_SCHEME - Static variable in exception jespa.ldap.LdapException
 
LDAP_DECODING_ERROR - Static variable in exception jespa.ldap.LdapException
 
LDAP_ENCODING_ERROR - Static variable in exception jespa.ldap.LdapException
 
LDAP_FILTER_ERROR - Static variable in exception jespa.ldap.LdapException
 
LDAP_INAPPROPRIATE_AUTH - Static variable in exception jespa.ldap.LdapException
 
LDAP_INAPPROPRIATE_MATCHING - Static variable in exception jespa.ldap.LdapException
 
LDAP_INSUFFICIENT_ACCESS - Static variable in exception jespa.ldap.LdapException
 
LDAP_INVALID_CREDENTIALS - Static variable in exception jespa.ldap.LdapException
 
LDAP_INVALID_DN_SYNTAX - Static variable in exception jespa.ldap.LdapException
 
LDAP_INVALID_SYNTAX - Static variable in exception jespa.ldap.LdapException
 
LDAP_IS_LEAF - Static variable in exception jespa.ldap.LdapException
 
LDAP_LOCAL_ERROR - Static variable in exception jespa.ldap.LdapException
 
LDAP_LOOP_DETECT - Static variable in exception jespa.ldap.LdapException
 
LDAP_MORE_RESULTS_TO_RETURN - Static variable in exception jespa.ldap.LdapException
 
LDAP_NAMING_VIOLATION - Static variable in exception jespa.ldap.LdapException
 
LDAP_NO_MEMORY - Static variable in exception jespa.ldap.LdapException
 
LDAP_NO_OBJECT_CLASS_MODS - Static variable in exception jespa.ldap.LdapException
 
LDAP_NO_RESULTS_RETURNED - Static variable in exception jespa.ldap.LdapException
 
LDAP_NO_SUCH_ATTRIBUTE - Static variable in exception jespa.ldap.LdapException
 
LDAP_NO_SUCH_OBJECT - Static variable in exception jespa.ldap.LdapException
 
LDAP_NO_SUCH_OPERATION - Static variable in exception jespa.ldap.LdapException
 
LDAP_NOT_ALLOWED_ON_NONLEAF - Static variable in exception jespa.ldap.LdapException
 
LDAP_NOT_ALLOWED_ON_RDN - Static variable in exception jespa.ldap.LdapException
 
LDAP_NOT_SUPPORTED - Static variable in exception jespa.ldap.LdapException
 
LDAP_OBJECT_CLASS_VIOLATION - Static variable in exception jespa.ldap.LdapException
 
LDAP_OPERATIONS_ERROR - Static variable in exception jespa.ldap.LdapException
 
LDAP_OTHER - Static variable in exception jespa.ldap.LdapException
 
LDAP_PARAM_ERROR - Static variable in exception jespa.ldap.LdapException
 
LDAP_PARTIAL_RESULTS - Static variable in exception jespa.ldap.LdapException
 
LDAP_PROTOCOL_ERROR - Static variable in exception jespa.ldap.LdapException
 
LDAP_PROXY_AUTHZ_FAILURE - Static variable in exception jespa.ldap.LdapException
 
LDAP_REFERRAL - Static variable in exception jespa.ldap.LdapException
 
LDAP_REFERRAL_LIMIT_EXCEEDED - Static variable in exception jespa.ldap.LdapException
 
LDAP_RESULTS_TOO_LARGE - Static variable in exception jespa.ldap.LdapException
 
LDAP_SASL_BIND_IN_PROGRESS - Static variable in exception jespa.ldap.LdapException
 
LDAP_SERVER_DOWN - Static variable in exception jespa.ldap.LdapException
 
LDAP_SIZELIMIT_EXCEEDED - Static variable in exception jespa.ldap.LdapException
 
LDAP_STRONG_AUTH_REQUIRED - Static variable in exception jespa.ldap.LdapException
 
LDAP_SUCCESS - Static variable in exception jespa.ldap.LdapException
 
LDAP_SYNC_REFRESH_REQUIRED - Static variable in exception jespa.ldap.LdapException
 
LDAP_TIMELIMIT_EXCEEDED - Static variable in exception jespa.ldap.LdapException
 
LDAP_TIMEOUT - Static variable in exception jespa.ldap.LdapException
 
LDAP_TOO_LATE - Static variable in exception jespa.ldap.LdapException
 
LDAP_TYPE_OR_VALUE_EXISTS - Static variable in exception jespa.ldap.LdapException
 
LDAP_UNAVAILABLE - Static variable in exception jespa.ldap.LdapException
 
LDAP_UNAVAILABLE_CRITICAL_EXTENSION - Static variable in exception jespa.ldap.LdapException
 
LDAP_UNDEFINED_TYPE - Static variable in exception jespa.ldap.LdapException
 
LDAP_UNWILLING_TO_PERFORM - Static variable in exception jespa.ldap.LdapException
 
LDAP_USER_CANCELLED - Static variable in exception jespa.ldap.LdapException
 
LDAP_X_ASSERTION_FAILED - Static variable in exception jespa.ldap.LdapException
 
LDAP_X_CANNOT_CHAIN - Static variable in exception jespa.ldap.LdapException
 
LDAP_X_NO_OPERATION - Static variable in exception jespa.ldap.LdapException
 
LDAP_X_NO_REFERRALS_FOUND - Static variable in exception jespa.ldap.LdapException
 
LDAP_X_SYNC_REFRESH_REQUIRED - Static variable in exception jespa.ldap.LdapException
 
LdapAccount - Class in jespa.ldap
This class extends LdapEntry to provide functionality specific to account entries in an LDAP directory which have passwords, group membership and other characteristics of account objects.
LdapAccount(LdapSecurityProvider, String) - Constructor for class jespa.ldap.LdapAccount
Construct an LdapAccount object for the purpose of performing account related operations.
LdapAttrDef - Class in jespa.ldap
A class for defining each LDAP attribute type, flags and automatic conversions if any.
LdapAttrDef(int, int, int) - Constructor for class jespa.ldap.LdapAttrDef
 
LdapEntry - Class in jespa.ldap
A Map of attributes used to inspect, create, update and delete entries in an LDAP directory.
LdapEntry(LdapSecurityProvider, String) - Constructor for class jespa.ldap.LdapEntry
Construct an LdapEntry object for the purpose of performing LDAP operations on individual entries.
LdapException - Exception in jespa.ldap
WARNING: EVEN IF DECLARED PUBLIC, CLASSES OR INTERFACES THAT ARE NOT LISTED IN THE STOCK JESPA API DOCUMENTATION ARE NOT SUPPORTED AND MAY CHANGE AT ANY TIME WITHOUT NOTICE.
LdapSearch - Class in jespa.ldap
A commandline utility for querying LDAP servers like Active Directory or OpenLDAP.
LdapSecurityProvider - Class in jespa.ldap
A SecurityProvider implementation that provides a simple API to search, retrieve, create, update and delete accounts and entries, validate credentials, check group membership and set and change passwords on accounts in an LDAP directory such as Active Directory or OpenLDAP.
LdapSecurityProvider(Map, String[]) - Constructor for class jespa.ldap.LdapSecurityProvider
Create an LdapSecurityProvider instance with a copy of the supplied properties but only properties named in the pnames array.
LdapSecurityProvider(Map) - Constructor for class jespa.ldap.LdapSecurityProvider
Construct a new LdapSecurityProvider instance with a copy of the supplied properties.
level - Static variable in class jespa.util.LogStream
The level of information to log.
login() - Method in class jespa.security.LoginModule
 
LoginModule - Class in jespa.security
A JAAS LoginModule that uses a Jespa SecurityProvider to validate credentials (the Jespa NtlmSecurityProvider is the default).
LoginModule() - Constructor for class jespa.security.LoginModule
 
logout() - Method in class jespa.security.LoginModule
 
LogStream - Class in jespa.util
A simple PrintStream with an integer log level.
LogStream(OutputStream) - Constructor for class jespa.util.LogStream
 

M

main(String[]) - Static method in class jespa.ldap.LdapSearch
 
master - Variable in class jespa.io.ByteBuffer
 
mechanismName - Variable in class jespa.sasl.SaslClient
 
mechanismName - Variable in class jespa.sasl.SaslServer
 

N

name - Variable in class jespa.security.SecurityPrincipal
 
NtlmResponse - Class in jespa.ntlm
NTLM is a "challenge and response" system.
NtlmResponse(NtlmResponse, String, String, char[], byte[]) - Constructor for class jespa.ntlm.NtlmResponse
Construct an NTLM response manually using the plaintext password that may be compared with the client supplied NTLM response.
NtlmSecurityProvider - Class in jespa.ntlm
A SecurityProvider implementation of NTLM with NTLMv2, Secure Channel NETLOGON credential validation, NTLM2 Session Security, Key Exchange, confidentiality, integrity and 128 bit encryption.
NtlmSecurityProvider(Map) - Constructor for class jespa.ntlm.NtlmSecurityProvider
See the Properties Overview section for a description of the properties understood by this security provider.
NtlmSecurityProvider(Map, String[]) - Constructor for class jespa.ntlm.NtlmSecurityProvider
See the Properties Overview section for a description of the properties understood by this security provider.

O

onException(SecurityProviderException, HttpServletRequest, HttpServletResponse, SecurityProvider) - Method in class jespa.http.HttpSecurityService
This protected method is called from doFilter when a SecurityProviderException occurs trying to call either SecurityProvider.acceptSecContext or SecurityProvider.authenticate.
onPropertiesUpdate(Map) - Method in class jespa.http.HttpSecurityService
This protected method is called from init and whenever the file identified by properties.path has been modified (but it will not be called more than once within a 5 second period).

P

parseDn(String, ArrayList, ArrayList) - Static method in class jespa.ldap.LdapSecurityProvider
Parse an LDAP distinguished name (DN) or relative distinguished name (RDN) into keys and values.
password - Variable in class jespa.security.PasswordCredential
 
PasswordCredential - Class in jespa.security
A container for an account name and corresponding plaintext password.
PasswordCredential(String, char[]) - Constructor for class jespa.security.PasswordCredential
Construct a new plaintext password credential.
principal - Variable in class jespa.security.PasswordCredential
 
println(Object) - Method in class jespa.util.LogStream
 
println(String) - Method in class jespa.util.LogStream
 
provider - Variable in class jespa.sasl.SaslClient
 
provider - Variable in class jespa.sasl.SaslServer
 
put(Object, Object) - Method in class jespa.ldap.LdapEntry
Put a named attribute value into this entry.
put(Object, Object) - Method in class jespa.ldap.LdapSecurityProvider
Set the named property to the supplied value.
putAll(Map) - Method in class jespa.ldap.LdapEntry
This method of the Map interface is currently not implemented.

R

read(InputStream) - Method in class jespa.io.ByteBuffer
 
remove(Object) - Method in class jespa.ldap.LdapEntry
Remove the named attribute value from this entry.
requestComplete(HttpPeer, HttpRequest) - Method in class jespa.http.HttpURLConnection
 
reset() - Method in class jespa.io.ByteBuffer
 
run() - Method in class jespa.ldap.LdapSearch
 
RunAs - Class in jespa.security
This utility class simplifies common JAAS Subject based security model credential "bootstrapping".
RunAs() - Constructor for class jespa.security.RunAs
 
runAs(PrivilegedExceptionAction, Object, String, Map) - Static method in class jespa.security.RunAs
Runs the PrivilegedExceptionAction after bootstrapping the supplied credential through the named LoginModule.
runAs(PrivilegedExceptionAction, String, String, Map, CallbackHandler) - Static method in class jespa.security.RunAs
Runs the PrivilegedExceptionAction after bootstrapping credentials through the named LoginModule.
runAs(PrivilegedExceptionAction, Object, Principal) - Static method in class jespa.security.RunAs
Runs the PrivilegedExceptionAction through a Subject with the supplied credential and optional Principal.
runAs(PrivilegedExceptionAction, Object) - Static method in class jespa.security.RunAs
Run the PrivilegedExceptionAction through a Subject with the supplied credential.

S

SaslClient - Class in jespa.sasl
The Jespa SASL client.
SaslClient(String, String, String, String, Map, CallbackHandler) - Constructor for class jespa.sasl.SaslClient
Create a SaslClient that supports NTLM authentication, integrity and confidentiality.
SaslServer - Class in jespa.sasl
The Jespa SASL server.
SaslServer(String, String, String, Map, CallbackHandler) - Constructor for class jespa.sasl.SaslServer
Create a SaslServer that supports NTLM authentication, integrity and confidentiality.
search(String[], String) - Method in class jespa.ldap.LdapSecurityProvider
Return a List of LdapEntry objects for the supplied search parameters.
SecurityPrincipal - Class in jespa.security
An object representing an account with a name and domain.
SecurityPrincipal(String) - Constructor for class jespa.security.SecurityPrincipal
Create a new SecurityPrincipal with an account name like "alice@example.com", "EXAMPLE\alice" or "alice".
SecurityPrincipal(String, String) - Constructor for class jespa.security.SecurityPrincipal
Create a new SecurityPrincipal from a domain and username.
SecurityProvider - Class in jespa.security
An abstract class defining an interface for performing common security operations.
SecurityProvider(Map) - Constructor for class jespa.security.SecurityProvider
Construct a new SecurityProvider with a copy of the supplied properties.
SecurityProvider(Map, String[]) - Constructor for class jespa.security.SecurityProvider
Construct a SecurityProvider with only the properties named in the pnames parameter.
SecurityProviderException - Exception in jespa.security
 
SecurityProviderException(int, String) - Constructor for exception jespa.security.SecurityProviderException
 
SecurityProviderException(int, String, Throwable) - Constructor for exception jespa.security.SecurityProviderException
 
setEncryptedProperty(String, String, Object) - Method in class jespa.ntlm.NtlmSecurityProvider
 
setFlag(String, boolean) - Method in class jespa.ntlm.NtlmSecurityProvider
Set the named security flag to the supplied value.
setFlag(String, boolean) - Method in class jespa.security.ChainSecurityProvider
Call getFlag on the currently selected SecurityProvider in the chain.
setFlag(String, boolean) - Method in class jespa.security.SecurityProvider
Sets the value of the named flag.
setFrame(int) - Method in class jespa.io.ByteBuffer
Set the frame index relative to the "start" position.
setIndex(int) - Method in class jespa.io.ByteBuffer
Set the current index relative to the "start" position.
setInstance(PrintStream) - Static method in class jespa.util.LogStream
Set the shared static stream that should be used throughout the Jespa library.
setLevel(int) - Static method in class jespa.util.LogStream
Set the level of information that should be logged.
setPassword(char[]) - Method in class jespa.examples.WordPressAccount
Set the password for this account to the supplied value in the WordPress database.
setPassword(char[]) - Method in class jespa.ldap.LdapAccount
Set the password on this account to the supplied value.
setPassword(char[]) - Method in interface jespa.security.Account
Set the password for this account to the supplied value in the SecurityProvider authority.
setProperty(String, Object) - Method in class jespa.examples.WordPressAccount
Set account attributes and properties of this account instance.
setProperty(String, Object) - Method in interface jespa.security.Account
Set an account attribute or property.
setProperty(String, Object) - Method in class jespa.security.ChainSecurityProvider
 
setProperty(String, Object) - Method in class jespa.security.SecurityProvider
Set a property such as a SecurityProvider specific option.
setRequestProperty(String, String) - Method in class jespa.http.HttpURLConnection
 
setStart() - Method in class jespa.io.ByteBuffer
Set the "start" position of the underlying byte[] array to the current index.
shift(int, boolean) - Method in class jespa.io.ByteBuffer
 
size() - Method in class jespa.ldap.LdapEntry
Return the number of attributes in this entry.
start - Variable in class jespa.io.ByteBuffer
 
STATUS_ACCESS_DENIED - Static variable in exception jespa.security.SecurityProviderException
 
STATUS_ACCOUNT_NOT_FOUND - Static variable in exception jespa.security.SecurityProviderException
 
STATUS_ALREADY_EXISTS - Static variable in exception jespa.security.SecurityProviderException
 
STATUS_DOMAIN_NOT_FOUND - Static variable in exception jespa.security.SecurityProviderException
 
STATUS_ENTRY_NOT_FOUND - Static variable in exception jespa.security.SecurityProviderException
 
STATUS_INVALID_CREDENTIALS - Static variable in exception jespa.security.SecurityProviderException
 
STATUS_RECOVERABLE_FAILURE - Static variable in exception jespa.security.SecurityProviderException
 

T

toByteArray() - Method in class jespa.io.ByteBuffer
 
toString() - Method in class jespa.http.HttpSecurityService
 
toString() - Method in class jespa.io.ByteBuffer
 
toString() - Method in class jespa.ldap.LdapAttrDef
 
toString() - Method in class jespa.security.PasswordCredential
Return the value of principal.getName().
toString() - Method in class jespa.security.SecurityPrincipal
Returns the same value as SecurityPrincipal.getName().
type - Variable in class jespa.ldap.LdapAttrDef
 
TYPE_BINARY - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Types section
TYPE_BOOLEAN - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Types section
TYPE_INT32 - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Types section
TYPE_INT64 - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Types section
TYPE_STRING - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Types section
TYPE_TIME - Static variable in class jespa.ldap.LdapAttrDef
See table in Attribute Definition Types section

U

unwrap(ByteBuffer) - Method in class jespa.ntlm.NtlmSecurityProvider
Verify the signature of and possibly decrypt the supplied buffer.
unwrap(byte[], int, int) - Method in class jespa.sasl.SaslClient
 
unwrap(byte[], int, int) - Method in class jespa.sasl.SaslServer
 
unwrap(ByteBuffer) - Method in class jespa.security.SecurityProvider
Process an input buffer provided by a peer using another instance of this SecurityProvider's SecurityProvider.wrap(jespa.io.ByteBuffer) method or an equivalent routine.
update(String[]) - Method in class jespa.examples.WordPressAccount
Insert, update or delete attributes on an existing account in the WordPress database with selected attribute values of this object.
update() - Method in class jespa.examples.WordPressAccount
Insert, update or delete attributes on an existing account in the WordPress database with all attribute values of this object.
update(String[]) - Method in class jespa.ldap.LdapEntry
Update an existing entry with this entry's Distinguished Name in the LDAP directory identified by the underlying LdapSecurityProvider.
update() - Method in class jespa.ldap.LdapEntry
Update an entry with this entry's Distinguished Name in the LDAP directory identified by the underlying LdapSecurityProvider.
update(String[]) - Method in interface jespa.security.Account
Update an existing account in the SecurityProvider authority with selected attribute values of this object.
update() - Method in interface jespa.security.Account
Update an existing account in the SecurityProvider authority with all attribute values of this object.
usingProxy() - Method in class jespa.http.HttpURLConnection
 

V

values() - Method in class jespa.ldap.LdapEntry
This method of the Map interface is currently not implemented.

W

WordPressAccount - Class in jespa.examples
The Account implementation for the WordPressSecurityProvider which is used to create, update and delete accounts and set or change passwords on accounts in a WordPress MySQL database.
WordPressAccount(WordPressSecurityProvider, String) - Constructor for class jespa.examples.WordPressAccount
 
WordPressSecurityProvider - Class in jespa.examples
This example SecurityProvider illustrates how to create a SecurityProvider based on an SQL database.
WordPressSecurityProvider(Map) - Constructor for class jespa.examples.WordPressSecurityProvider
 
wrap(ByteBuffer) - Method in class jespa.ntlm.NtlmSecurityProvider
Sign and possibly encrypt the supplied buffer.
wrap(byte[], int, int) - Method in class jespa.sasl.SaslClient
 
wrap(byte[], int, int) - Method in class jespa.sasl.SaslServer
 
wrap(ByteBuffer) - Method in class jespa.security.SecurityProvider
Process an output buffer to apply some form of security such as message signing or encryption.
write(OutputStream, int, boolean) - Method in class jespa.io.ByteBuffer
 
A B C D E F G H I J K L M N O P R S T U V W