Skip navigation links
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.DuoHttpSecurityService
This method overrides the parent doFilter method to invoke the Duo client only after a successful authentication by the parent HttpSecurityService.doFilter method.
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
 
DUO_TOKEN_FAILED_OPEN - Static variable in class jespa.http.DuoHttpSecurityService
Under normal operating conditions, HttpSession.getAttribute("jespa.duo.token") returns a com.duosecurity.model.Token object with detailed information about the Duo step including the end-user's mobile number and location.
DuoHttpSecurityFilter - Class in jespa.http
This Servlet Filter combines the Duo Universal Prompt Java Client (duo_universal_java) 2FA functionality from duosecurity.com with the Windows built-in SSO capability of Windows clients joined to a Windows domain.
DuoHttpSecurityFilter() - Constructor for class jespa.http.DuoHttpSecurityFilter
 
DuoHttpSecurityService - Class in jespa.http
This class combines the SSO capability builtin to Windows clients joined to a Windows domain with the Duo 2FA functionality from duosecurity.com using the Duo Universal Prompt Java Client (duo_universal_java).
DuoHttpSecurityService() - Constructor for class jespa.http.DuoHttpSecurityService
 

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
 
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.
get(Object, LdapAttrDef) - Method in class jespa.ldap.LdapEntry
 
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".
getBindingsCertHashPolicy(SecurityProvider, HttpServletRequest, HttpServletResponse, int) - Method in class jespa.http.HttpSecurityService
This protected method is called by doFilter after authentication to determine how the channel bindings checking should be performed for this client.
getBindingsTargetSpnsPolicy(SecurityProvider, HttpServletRequest, HttpServletResponse, int) - Method in class jespa.http.HttpSecurityService
This protected method is called by doFilter after authentication to determine how the target SPN checking should be performed for this client.
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
 
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.DuoHttpSecurityFilter
This method just converts all init-params into a Map of properties which it then passes to DuoHttpSecurityService.init().
init(String, ServletContext, Map) - Method in class jespa.http.DuoHttpSecurityService
Initialize the DuoHttpSecurityService with explicitly supplied properties.
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
isDuoProtected(HttpServletRequest) - Method in class jespa.http.DuoHttpSecurityService
Called by doFilter to determine if the request is for a protected resource which may only be accessed by an end-user that has successfully authenticated using Duo 2FA.
isEmpty() - Method in class jespa.ldap.LdapEntry
Return true if this entry contains no attributes.
isLogout(HttpServletRequest) - Method in class jespa.http.DuoHttpSecurityService
Called by the parent HttpSecurityService.doFilter method to determine if this is a request to "logout" the current authenticated user.
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

KEYS_ACCEPT - Static variable in class jespa.ntlm.NtlmSecurityProvider
 
KEYS_INIT - Static variable in class jespa.ntlm.NtlmSecurityProvider
 
keySet() - Method in class jespa.ldap.LdapEntry
This method of the Map interface is currently not implemented.

L

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.
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 AD DS, Azure AD DS 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
 
matchWildcard(String[], String) - Static method in class jespa.http.HttpSecurityService
Case-sensitive compare the supplied string to the list of DOS-style wildcard expressions with * and ? to match zero-or-more and one-or-more characters respectively and return the index of the expression that matched or -1 to indicat that no expression matched.
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 NTLMSSP to initiate and accept NTLMv2 authentication.
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

onDuoException(DuoException, HttpServletRequest, HttpServletResponse, SecurityProvider) - Method in class jespa.http.DuoHttpSecurityService
Called when a DuoException occurs including but not limited to exceptions thrown by the duo_universal_java library.
onDuoResult(Token, boolean, HttpServletRequest, HttpServletResponse, SecurityProvider, String) - Method in class jespa.http.DuoHttpSecurityService
This method is called when the Duo client processes 2FA but regardless of the result.
onException(SecurityProviderException, HttpServletRequest, HttpServletResponse, SecurityProvider) - Method in class jespa.http.DuoHttpSecurityService
Called when a SecurityProviderException occurs within the HttpSecurityService.
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.DuoHttpSecurityService
Called by the HttpSecurityService during initialization and when the file identified by the properties.path property has been modified (although not more than once within a 5 second period).
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_BINDINGS_FAILURE - 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.ntlm.NtlmResponse
 
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().
toString() - Method in class jespa.util.LogStream
 
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 
Skip navigation links