Package org.jivesoftware.util
Class JiveInitialLdapContext
java.lang.Object
javax.naming.InitialContext
javax.naming.directory.InitialDirContext
javax.naming.ldap.InitialLdapContext
org.jivesoftware.util.JiveInitialLdapContext
- All Implemented Interfaces:
Context,DirContext,LdapContext
A class that extends the Java's InitialLdapContext class with
two properties to store the SSLSession and the StartTlsResponse
objects. This is necessary when using the StartTLS extension.
-
Field Summary
Fields inherited from class javax.naming.InitialContext
defaultInitCtx, gotDefault, myPropsFields inherited from interface javax.naming.Context
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXESFields inherited from interface javax.naming.directory.DirContext
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTEFields inherited from interface javax.naming.ldap.LdapContext
CONTROL_FACTORIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetSslSession(SSLSession sslSess) voidsetTlsResponse(StartTlsResponse tlsResp) Methods inherited from class javax.naming.ldap.InitialLdapContext
extendedOperation, getConnectControls, getRequestControls, getResponseControls, newInstance, reconnect, setRequestControlsMethods inherited from class javax.naming.directory.InitialDirContext
bind, bind, createSubcontext, createSubcontext, getAttributes, getAttributes, getAttributes, getAttributes, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, search, search, search, search, search, search, search, searchMethods inherited from class javax.naming.InitialContext
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, doLookup, doLookup, getDefaultInitCtx, getEnvironment, getNameInNamespace, getNameParser, getNameParser, getURLOrDefaultInitCtx, getURLOrDefaultInitCtx, init, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.naming.Context
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindMethods inherited from interface javax.naming.directory.DirContext
bind, bind, createSubcontext, createSubcontext, getAttributes, getAttributes, getAttributes, getAttributes, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, search, search, search, search, search, search, search, search
-
Constructor Details
-
JiveInitialLdapContext
- Throws:
NamingException
-
JiveInitialLdapContext
- Throws:
NamingException
-
-
Method Details
-
getTlsResponse
-
setTlsResponse
-
getSslSession
-
setSslSession
-