Multiple LdapCtx might share the same LdapClient. For example, contexts derived from the same initial context would share the same LdapClient until changes to a context's properties necessitates its own LdapClient. LdapClient methods that access shared data are thread-safe (i.e., caller does not have to sync).
Fields: isLdapv3 - no sync; initialized and updated within sync authenticate(); always updated when connection is "quiet" and not shared; read access from outside LdapClient not sync referenceCount - sync within LdapClient; exception is forceClose() which is used by Connection thread to close connection upon receiving an Unsolicited Notification. access from outside LdapClient must sync; conn - no sync; Connection takes care of its own sync unsolicited - sync Vector; multiple operations sync'ed
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| private boolean | |
| pack-priv static final boolean | |
| pack-priv final Connection | |
| private static final int | |
| private static final Set | |
| pack-priv static final int | |
| private static final String | |
| pack-priv boolean | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final String[] | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final String | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final String | |
| pack-priv final ReentrantLock | |
| private final PoolCallback | |
| private final boolean | |
| pack-priv int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private final Vector | |
| private final ReentrantLock |
| Access | Constructor and Description |
|---|---|
| pack-priv | LdapClient(String host, int port, String socketFactory, int connectTimeout, int readTimeout, OutputStream trace, PoolCallback pcb)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv LdapResult | |
| pack-priv void | |
| pack-priv LdapResult | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| public void | closeConnection()
Implements com. Closes the physical connection. |
| pack-priv LdapResult | |
| pack-priv LdapResult | |
| private void | |
| pack-priv static void | |
| private static byte[] | |
| private void | |
| pack-priv LdapResult | |
| protected void | finalize()
Overrides java. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| private void | |
| pack-priv static String | |
| pack-priv static LdapClient | getInstance(boolean usePool, String hostname, int port, String factory, int connectTimeout, int readTimeout, OutputStream trace, int version, String authMechanism, Control[] ctls, String protocol, String user, Object passwd, Hashtable<?, ?> env)
|
| pack-priv LdapResult | |
| private LdapResult | getSearchReply(LdapRequest req, int batchSize, LdapResult res, Hashtable<String, Boolean> binaryAttrs)
|
| private static boolean | |
| pack-priv void | |
| private boolean | |
| pack-priv boolean | |
| public LdapResult | |
| pack-priv LdapResult | |
| pack-priv LdapResult | |
| private void | |
| private Attribute | |
| private int | |
| pack-priv static Vector | |
| private void | |
| pack-priv static void | |
| pack-priv void | |
| private LdapResult | processReply(LdapRequest req, LdapResult res, int responseType)
Reads the next reply corresponding to msgId, outstanding on requestBer. |
| pack-priv void | |
| pack-priv void | |
| pack-priv LdapResult | |
| pack-priv boolean |
| ADD | back to summary |
|---|---|
| pack-priv static final int ADD | |
| authenticateCalled | back to summary |
|---|---|
| private boolean authenticateCalled | |
| caseIgnore | back to summary |
|---|---|
| pack-priv static final boolean caseIgnore | |
| conn | back to summary |
|---|---|
| pack-priv final Connection conn | |
| debug | back to summary |
|---|---|
| private static final int debug | |
| defaultBinaryAttrs | back to summary |
|---|---|
| private static final Set<String> defaultBinaryAttrs | |
| DELETE | back to summary |
|---|---|
| pack-priv static final int DELETE | |
| DISCONNECT_OID | back to summary |
|---|---|
| private static final String DISCONNECT_OID | |
| isLdapv3 | back to summary |
|---|---|
| pack-priv boolean isLdapv3 | |
| LBER_BITSTRING | back to summary |
|---|---|
| pack-priv static final int LBER_BITSTRING | |
| LBER_BOOLEAN | back to summary |
|---|---|
| pack-priv static final int LBER_BOOLEAN | |
| LBER_ENUMERATED | back to summary |
|---|---|
| pack-priv static final int LBER_ENUMERATED | |
| LBER_INTEGER | back to summary |
|---|---|
| pack-priv static final int LBER_INTEGER | |
| LBER_NULL | back to summary |
|---|---|
| pack-priv static final int LBER_NULL | |
| LBER_OCTETSTRING | back to summary |
|---|---|
| pack-priv static final int LBER_OCTETSTRING | |
| LBER_SEQUENCE | back to summary |
|---|---|
| pack-priv static final int LBER_SEQUENCE | |
| LBER_SET | back to summary |
|---|---|
| pack-priv static final int LBER_SET | |
| LDAP_ADMIN_LIMIT_EXCEEDED | back to summary |
|---|---|
| pack-priv static final int LDAP_ADMIN_LIMIT_EXCEEDED | |
| LDAP_AFFECTS_MULTIPLE_DSAS | back to summary |
|---|---|
| pack-priv static final int LDAP_AFFECTS_MULTIPLE_DSAS | |
| LDAP_ALIAS_DEREFERENCING_PROBLEM | back to summary |
|---|---|
| pack-priv static final int LDAP_ALIAS_DEREFERENCING_PROBLEM | |
| LDAP_ALIAS_PROBLEM | back to summary |
|---|---|
| pack-priv static final int LDAP_ALIAS_PROBLEM | |
| LDAP_ATTRIBUTE_OR_VALUE_EXISTS | back to summary |
|---|---|
| pack-priv static final int LDAP_ATTRIBUTE_OR_VALUE_EXISTS | |
| LDAP_AUTH_METHOD_NOT_SUPPORTED | back to summary |
|---|---|
| pack-priv static final int LDAP_AUTH_METHOD_NOT_SUPPORTED | |
| LDAP_BUSY | back to summary |
|---|---|
| pack-priv static final int LDAP_BUSY | |
| LDAP_COMPARE_FALSE | back to summary |
|---|---|
| pack-priv static final int LDAP_COMPARE_FALSE | |
| LDAP_COMPARE_TRUE | back to summary |
|---|---|
| pack-priv static final int LDAP_COMPARE_TRUE | |
| LDAP_CONFIDENTIALITY_REQUIRED | back to summary |
|---|---|
| pack-priv static final int LDAP_CONFIDENTIALITY_REQUIRED | |
| LDAP_CONSTRAINT_VIOLATION | back to summary |
|---|---|
| pack-priv static final int LDAP_CONSTRAINT_VIOLATION | |
| LDAP_CONTROL_MANAGE_DSA_IT | back to summary |
|---|---|
| pack-priv static final String LDAP_CONTROL_MANAGE_DSA_IT | |
| LDAP_CONTROL_PAGED_RESULTS | back to summary |
|---|---|
| pack-priv static final String LDAP_CONTROL_PAGED_RESULTS | |
| LDAP_CONTROL_PREFERRED_LANG | back to summary |
|---|---|
| pack-priv static final String LDAP_CONTROL_PREFERRED_LANG | |
| LDAP_CONTROL_SERVER_SORT_REQ | back to summary |
|---|---|
| pack-priv static final String LDAP_CONTROL_SERVER_SORT_REQ | |
| LDAP_CONTROL_SERVER_SORT_RES | back to summary |
|---|---|
| pack-priv static final String LDAP_CONTROL_SERVER_SORT_RES | |
| LDAP_CONTROLS | back to summary |
|---|---|
| pack-priv static final int LDAP_CONTROLS | |
| LDAP_ENTRY_ALREADY_EXISTS | back to summary |
|---|---|
| pack-priv static final int LDAP_ENTRY_ALREADY_EXISTS | |
| ldap_error_message | back to summary |
|---|---|
| pack-priv static final String[] ldap_error_message | |
| LDAP_INAPPROPRIATE_AUTHENTICATION | back to summary |
|---|---|
| pack-priv static final int LDAP_INAPPROPRIATE_AUTHENTICATION | |
| LDAP_INAPPROPRIATE_MATCHING | back to summary |
|---|---|
| pack-priv static final int LDAP_INAPPROPRIATE_MATCHING | |
| LDAP_INSUFFICIENT_ACCESS_RIGHTS | back to summary |
|---|---|
| pack-priv static final int LDAP_INSUFFICIENT_ACCESS_RIGHTS | |
| LDAP_INVALID_ATTRIBUTE_SYNTAX | back to summary |
|---|---|
| pack-priv static final int LDAP_INVALID_ATTRIBUTE_SYNTAX | |
| LDAP_INVALID_CREDENTIALS | back to summary |
|---|---|
| pack-priv static final int LDAP_INVALID_CREDENTIALS | |
| LDAP_INVALID_DN_SYNTAX | back to summary |
|---|---|
| pack-priv static final int LDAP_INVALID_DN_SYNTAX | |
| LDAP_IS_LEAF | back to summary |
|---|---|
| pack-priv static final int LDAP_IS_LEAF | |
| LDAP_LOOP_DETECT | back to summary |
|---|---|
| pack-priv static final int LDAP_LOOP_DETECT | |
| LDAP_NAMING_VIOLATION | back to summary |
|---|---|
| pack-priv static final int LDAP_NAMING_VIOLATION | |
| LDAP_NO_SUCH_ATTRIBUTE | back to summary |
|---|---|
| pack-priv static final int LDAP_NO_SUCH_ATTRIBUTE | |
| LDAP_NO_SUCH_OBJECT | back to summary |
|---|---|
| pack-priv static final int LDAP_NO_SUCH_OBJECT | |
| LDAP_NOT_ALLOWED_ON_NON_LEAF | back to summary |
|---|---|
| pack-priv static final int LDAP_NOT_ALLOWED_ON_NON_LEAF | |
| LDAP_NOT_ALLOWED_ON_RDN | back to summary |
|---|---|
| pack-priv static final int LDAP_NOT_ALLOWED_ON_RDN | |
| LDAP_OBJECT_CLASS_MODS_PROHIBITED | back to summary |
|---|---|
| pack-priv static final int LDAP_OBJECT_CLASS_MODS_PROHIBITED | |
| LDAP_OBJECT_CLASS_VIOLATION | back to summary |
|---|---|
| pack-priv static final int LDAP_OBJECT_CLASS_VIOLATION | |
| LDAP_OPERATIONS_ERROR | back to summary |
|---|---|
| pack-priv static final int LDAP_OPERATIONS_ERROR | |
| LDAP_OTHER | back to summary |
|---|---|
| pack-priv static final int LDAP_OTHER | |
| LDAP_PARTIAL_RESULTS | back to summary |
|---|---|
| pack-priv static final int LDAP_PARTIAL_RESULTS | |
| LDAP_PROTOCOL_ERROR | back to summary |
|---|---|
| pack-priv static final int LDAP_PROTOCOL_ERROR | |
| LDAP_REF_FOLLOW | back to summary |
|---|---|
| pack-priv static final int LDAP_REF_FOLLOW | |
| LDAP_REF_FOLLOW_SCHEME | back to summary |
|---|---|
| pack-priv static final int LDAP_REF_FOLLOW_SCHEME | |
| LDAP_REF_IGNORE | back to summary |
|---|---|
| pack-priv static final int LDAP_REF_IGNORE | |
| LDAP_REF_THROW | back to summary |
|---|---|
| pack-priv static final int LDAP_REF_THROW | |
| LDAP_REFERRAL | back to summary |
|---|---|
| pack-priv static final int LDAP_REFERRAL | |
| LDAP_REP_ADD | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_ADD | |
| LDAP_REP_BIND | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_BIND | |
| LDAP_REP_COMPARE | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_COMPARE | |
| LDAP_REP_DELETE | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_DELETE | |
| LDAP_REP_EXT_OID | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_EXT_OID | |
| LDAP_REP_EXT_VAL | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_EXT_VAL | |
| LDAP_REP_EXTENSION | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_EXTENSION | |
| LDAP_REP_MODIFY | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_MODIFY | |
| LDAP_REP_MODRDN | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_MODRDN | |
| LDAP_REP_REFERRAL | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_REFERRAL | |
| LDAP_REP_RESULT | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_RESULT | |
| LDAP_REP_SEARCH | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_SEARCH | |
| LDAP_REP_SEARCH_REF | back to summary |
|---|---|
| pack-priv static final int LDAP_REP_SEARCH_REF | |
| LDAP_REQ_ABANDON | back to summary |
|---|---|
| pack-priv static final int LDAP_REQ_ABANDON | |
| LDAP_REQ_ADD | back to summary |
|---|---|
| pack-priv static final int LDAP_REQ_ADD | |
| LDAP_REQ_BIND | back to summary |
|---|---|
| pack-priv static final int LDAP_REQ_BIND | |
| LDAP_REQ_COMPARE | back to summary |
|---|---|
| pack-priv static final int LDAP_REQ_COMPARE | |
| LDAP_REQ_DELETE | back to summary |
|---|---|
| pack-priv static final int LDAP_REQ_DELETE | |
| LDAP_REQ_EXTENSION | back to summary |
|---|---|
| pack-priv static final int LDAP_REQ_EXTENSION | |
| LDAP_REQ_MODIFY | back to summary |
|---|---|
| pack-priv static final int LDAP_REQ_MODIFY | |
| LDAP_REQ_MODRDN | back to summary |
|---|---|
| pack-priv static final int LDAP_REQ_MODRDN | |
| LDAP_REQ_SEARCH | back to summary |
|---|---|
| pack-priv static final int LDAP_REQ_SEARCH | |
| LDAP_REQ_UNBIND | back to summary |
|---|---|
| pack-priv static final int LDAP_REQ_UNBIND | |
| LDAP_SASL_BIND_IN_PROGRESS | back to summary |
|---|---|
| pack-priv static final int LDAP_SASL_BIND_IN_PROGRESS | |
| LDAP_SIZE_LIMIT_EXCEEDED | back to summary |
|---|---|
| pack-priv static final int LDAP_SIZE_LIMIT_EXCEEDED | |
| LDAP_STRONG_AUTH_REQUIRED | back to summary |
|---|---|
| pack-priv static final int LDAP_STRONG_AUTH_REQUIRED | |
| LDAP_SUCCESS | back to summary |
|---|---|
| pack-priv static final int LDAP_SUCCESS | |
| LDAP_SUPERIOR_DN | back to summary |
|---|---|
| pack-priv static final int LDAP_SUPERIOR_DN | |
| LDAP_TIME_LIMIT_EXCEEDED | back to summary |
|---|---|
| pack-priv static final int LDAP_TIME_LIMIT_EXCEEDED | |
| LDAP_UNAVAILABLE | back to summary |
|---|---|
| pack-priv static final int LDAP_UNAVAILABLE | |
| LDAP_UNAVAILABLE_CRITICAL_EXTENSION | back to summary |
|---|---|
| pack-priv static final int LDAP_UNAVAILABLE_CRITICAL_EXTENSION | |
| LDAP_UNDEFINED_ATTRIBUTE_TYPE | back to summary |
|---|---|
| pack-priv static final int LDAP_UNDEFINED_ATTRIBUTE_TYPE | |
| LDAP_UNWILLING_TO_PERFORM | back to summary |
|---|---|
| pack-priv static final int LDAP_UNWILLING_TO_PERFORM | |
| LDAP_URL | back to summary |
|---|---|
| pack-priv static final String LDAP_URL | |
| LDAP_VERSION | back to summary |
|---|---|
| pack-priv static final int LDAP_VERSION | |
| LDAP_VERSION2 | back to summary |
|---|---|
| pack-priv static final int LDAP_VERSION2 | |
| LDAP_VERSION3 | back to summary |
|---|---|
| pack-priv static final int LDAP_VERSION3 | |
| LDAP_VERSION3_VERSION2 | back to summary |
|---|---|
| pack-priv static final int LDAP_VERSION3_VERSION2 | |
| LDAPS_URL | back to summary |
|---|---|
| pack-priv static final String LDAPS_URL | |
| lock | back to summary |
|---|---|
| pack-priv final ReentrantLock lock | |
| pcb | back to summary |
|---|---|
| private final PoolCallback pcb | |
| pooled | back to summary |
|---|---|
| private final boolean pooled | |
| referenceCount | back to summary |
|---|---|
| pack-priv int referenceCount | |
| REPLACE | back to summary |
|---|---|
| pack-priv static final int REPLACE | |
| SCOPE_BASE_OBJECT | back to summary |
|---|---|
| pack-priv static final int SCOPE_BASE_OBJECT | |
| SCOPE_ONE_LEVEL | back to summary |
|---|---|
| pack-priv static final int SCOPE_ONE_LEVEL | |
| SCOPE_SUBTREE | back to summary |
|---|---|
| pack-priv static final int SCOPE_SUBTREE | |
| unsolicited | back to summary |
|---|---|
| private final Vector<LdapCtx> unsolicited | |
| unsolicitedLock | back to summary |
|---|---|
| private final ReentrantLock unsolicitedLock | |
| LdapClient | back to summary |
|---|---|
| pack-priv LdapClient(String host, int port, String socketFactory, int connectTimeout, int readTimeout, OutputStream trace, PoolCallback pcb) throws NamingException | |
| add | back to summary |
|---|---|
| pack-priv LdapResult add(LdapEntry entry, Control[] reqCtls) throws IOException, NamingException | |
| addUnsolicited | back to summary |
|---|---|
| pack-priv void addUnsolicited(LdapCtx ctx) | |
| authenticate | back to summary |
|---|---|
| pack-priv LdapResult authenticate(boolean initial, String name, Object pw, int version, String authMechanism, Control[] ctls, Hashtable<?, ?> env) throws NamingException | |
| authenticateCalled | back to summary |
|---|---|
| pack-priv boolean authenticateCalled() | |
| clearSearchReply | back to summary |
|---|---|
| pack-priv void clearSearchReply(LdapResult res, Control[] ctls) | |
| close | back to summary |
|---|---|
| pack-priv void close(Control[] reqCtls, boolean hardClose) | |
| closeConnection | back to summary |
|---|---|
| public void closeConnection() Implements com. Doc from com. Closes the physical connection. | |
| compare | back to summary |
|---|---|
| pack-priv LdapResult compare(String DN, String type, String value, Control[] reqCtls) throws IOException, NamingException | |
| delete | back to summary |
|---|---|
| pack-priv LdapResult delete(String DN, Control[] reqCtls) throws IOException, NamingException | |
| encodeAttribute | back to summary |
|---|---|
| private void encodeAttribute(BerEncoder ber, Attribute attr) throws IOException, NamingException | |
| encodeControls | back to summary |
|---|---|
| pack-priv static void encodeControls(BerEncoder ber, Control[] reqCtls) throws IOException | |
| encodePassword | back to summary |
|---|---|
| private static byte[] encodePassword(Object pw, boolean v3) throws IOException Returns the encoded password. | |
| ensureOpen | back to summary |
|---|---|
| private void ensureOpen() throws IOException | |
| extendedOp | back to summary |
|---|---|
| pack-priv LdapResult extendedOp(String id, byte[] request, Control[] reqCtls, boolean pauseAfterReceipt) throws IOException, NamingException | |
| finalize | back to summary |
|---|---|
| protected void finalize() Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the
| |
| forceClose | back to summary |
|---|---|
| private void forceClose(boolean cleanPool) | |
| getErrorMessage | back to summary |
|---|---|
| pack-priv static String getErrorMessage(int errorCode, String errorMessage) | |
| getInstance | back to summary |
|---|---|
| pack-priv static LdapClient getInstance(boolean usePool, String hostname, int port, String factory, int connectTimeout, int readTimeout, OutputStream trace, int version, String authMechanism, Control[] ctls, String protocol, String user, Object passwd, Hashtable<?, ?> env) throws NamingException | |
| getSearchReply | back to summary |
|---|---|
| pack-priv LdapResult getSearchReply(int batchSize, LdapResult res, Hashtable<String, Boolean> binaryAttrs) throws IOException, NamingException | |
| getSearchReply | back to summary |
|---|---|
| private LdapResult getSearchReply(LdapRequest req, int batchSize, LdapResult res, Hashtable<String, Boolean> binaryAttrs) throws IOException, NamingException | |
| hasNoValue | back to summary |
|---|---|
| private static boolean hasNoValue(Attribute attr) throws NamingException | |
| incRefCount | back to summary |
|---|---|
| pack-priv void incRefCount() | |
| isBinaryValued | back to summary |
|---|---|
| private boolean isBinaryValued(String attrid, Hashtable<String, Boolean> binaryAttrs) | |
| isUpgradedToStartTls | back to summary |
|---|---|
| pack-priv boolean isUpgradedToStartTls() | |
| ldapBind | back to summary |
|---|---|
| public LdapResult ldapBind(String dn, byte[] toServer, Control[] bindCtls, String auth, boolean pauseAfterReceipt) throws IOException, NamingException Sends an LDAP Bind request. Cannot be private; called by LdapSasl | |
| moddn | back to summary |
|---|---|
| pack-priv LdapResult moddn(String DN, String newrdn, boolean deleteOldRdn, String newSuperior, Control[] reqCtls) throws IOException, NamingException | |
| modify | back to summary |
|---|---|
| pack-priv LdapResult modify(String dn, int[] operations, Attribute[] attrs, Control[] reqCtls) throws IOException, NamingException | |
| notifyUnsolicited | back to summary |
|---|---|
| private void notifyUnsolicited(Object e) | |
| parseAttribute | back to summary |
|---|---|
| private Attribute parseAttribute(BerDecoder ber, Hashtable<String, Boolean> binaryAttrs) throws IOException | |
| parseAttributeValue | back to summary |
|---|---|
| private int parseAttributeValue(BerDecoder ber, Attribute la, boolean hasBinaryValues) throws IOException | |
| parseControls | back to summary |
|---|---|
| pack-priv static Vector | |
| parseExtResponse | back to summary |
|---|---|
| private void parseExtResponse(BerDecoder replyBer, LdapResult res) throws IOException | |
| parseResult | back to summary |
|---|---|
| pack-priv static void parseResult(BerDecoder replyBer, LdapResult res, boolean isLdapv3) throws IOException | |
| processConnectionClosure | back to summary |
|---|---|
| pack-priv void processConnectionClosure() Called by Connection.cleanup(). LdapClient should notify any unsolicited listeners and removing itself from any pool. This is almost like forceClose(), except it doesn't call Connection.cleanup() (because this is called from cleanup()). | |
| processReply | back to summary |
|---|---|
| private LdapResult processReply(LdapRequest req, LdapResult res, int responseType) throws IOException, NamingException Reads the next reply corresponding to msgId, outstanding on requestBer. Processes the result and any controls. | |
| processUnsolicited | back to summary |
|---|---|
| pack-priv void processUnsolicited(BerDecoder ber) | |
| removeUnsolicited | back to summary |
|---|---|
| pack-priv void removeUnsolicited(LdapCtx ctx) | |
| search | back to summary |
|---|---|
| pack-priv LdapResult search(String dn, int scope, int deref, int sizeLimit, int timeLimit, boolean attrsOnly, String[] attrs, String filter, int batchSize, Control[] reqCtls, Hashtable<String, Boolean> binaryAttrs, boolean waitFirstReply, int replyQueueCapacity) throws IOException, NamingException | |
| usingSaslStreams | back to summary |
|---|---|
| pack-priv boolean usingSaslStreams() Determines whether SASL encryption/integrity is in progress. This check is made prior to reauthentication. You cannot reauthenticate over an encrypted/integrity-protected SASL channel. You must close the channel and open a new one. | |