public class LdapConnection extends DirectoryConnection implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.Protocols.LdapConnection
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.DirectoryServices.Protocols, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.DirectoryServices.Protocols
|
static java.lang.String |
className
Qualified class name: System.DirectoryServices.Protocols.LdapConnection
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
LdapConnection() |
LdapConnection(LdapDirectoryIdentifier identifier) |
LdapConnection(LdapDirectoryIdentifier identifier,
NetworkCredential credential) |
LdapConnection(LdapDirectoryIdentifier identifier,
NetworkCredential credential,
AuthType authType) |
LdapConnection(java.lang.Object instance)
Internal constructor.
|
LdapConnection(java.lang.String server) |
| Modifier and Type | Method and Description |
|---|---|
void |
Abort(IAsyncResult asyncResult) |
IAsyncResult |
BeginSendRequest(DirectoryRequest request,
PartialResultProcessing partialMode,
AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginSendRequest(DirectoryRequest request,
TimeSpan requestTimeout,
PartialResultProcessing partialMode,
AsyncCallback callback,
NetObject state) |
void |
Bind() |
void |
Bind(NetworkCredential newCredential) |
static LdapConnection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into LdapConnection, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose() |
DirectoryResponse |
EndSendRequest(IAsyncResult asyncResult) |
AuthType |
getAuthType() |
boolean |
getAutoBind() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
PartialResultsCollection |
GetPartialResults(IAsyncResult asyncResult) |
LdapSessionOptions |
getSessionOptions() |
DirectoryResponse |
SendRequest(DirectoryRequest request) |
DirectoryResponse |
SendRequest(DirectoryRequest request,
TimeSpan requestTimeout) |
void |
setAuthType(AuthType AuthType) |
void |
setAutoBind(boolean AutoBind) |
void |
setJCOInstance(JCObject instance) |
getClientCertificates, getDirectory, getTimeout, setCredential, setTimeoutpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public LdapConnection()
throws java.lang.Throwable
java.lang.Throwablepublic LdapConnection(LdapDirectoryIdentifier identifier) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, FormatException, UriFormatException, AccessViolationException, XPathException, DsmlInvalidDocumentException, NotSupportedException, DirectoryOperationException, LdapException, DirectoryException, OutOfMemoryException, CryptographicException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionFormatExceptionUriFormatExceptionAccessViolationExceptionXPathExceptionDsmlInvalidDocumentExceptionNotSupportedExceptionDirectoryOperationExceptionLdapExceptionDirectoryExceptionOutOfMemoryExceptionCryptographicExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionpublic LdapConnection(LdapDirectoryIdentifier identifier, NetworkCredential credential) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, FormatException, UriFormatException, AccessViolationException, XPathException, DsmlInvalidDocumentException, NotSupportedException, DirectoryOperationException, LdapException, DirectoryException, OutOfMemoryException, CryptographicException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionFormatExceptionUriFormatExceptionAccessViolationExceptionXPathExceptionDsmlInvalidDocumentExceptionNotSupportedExceptionDirectoryOperationExceptionLdapExceptionDirectoryExceptionOutOfMemoryExceptionCryptographicExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionpublic LdapConnection(LdapDirectoryIdentifier identifier, NetworkCredential credential, AuthType authType) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, SecurityException, UriFormatException, OutOfMemoryException, AccessViolationException, XPathException, DsmlInvalidDocumentException, NotSupportedException, FormatException, DirectoryOperationException, LdapException, DirectoryException, CryptographicException, InvalidEnumArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionSecurityExceptionUriFormatExceptionOutOfMemoryExceptionAccessViolationExceptionXPathExceptionDsmlInvalidDocumentExceptionNotSupportedExceptionFormatExceptionDirectoryOperationExceptionLdapExceptionDirectoryExceptionCryptographicExceptionInvalidEnumArgumentExceptionpublic LdapConnection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic LdapConnection(java.lang.String server)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
AccessViolationException,
XPathException,
DsmlInvalidDocumentException,
NotSupportedException,
DirectoryOperationException,
LdapException,
DirectoryException,
OutOfMemoryException,
CryptographicException,
InvalidEnumArgumentException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionXPathExceptionDsmlInvalidDocumentExceptionNotSupportedExceptionDirectoryOperationExceptionLdapExceptionDirectoryExceptionOutOfMemoryExceptionCryptographicExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionpublic void Abort(IAsyncResult asyncResult) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, FormatException, RankException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionFormatExceptionRankExceptionpublic IAsyncResult BeginSendRequest(DirectoryRequest request, PartialResultProcessing partialMode, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, FormatException, InvalidEnumArgumentException, NotSupportedException, PlatformNotSupportedException, LdapException, DirectoryOperationException, OutOfMemoryException, AccessViolationException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, InvalidTimeZoneException, DirectoryException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionLdapExceptionDirectoryOperationExceptionOutOfMemoryExceptionAccessViolationExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidTimeZoneExceptionDirectoryExceptionpublic IAsyncResult BeginSendRequest(DirectoryRequest request, TimeSpan requestTimeout, PartialResultProcessing partialMode, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, PlatformNotSupportedException, LdapException, DirectoryOperationException, OutOfMemoryException, CryptographicException, AccessViolationException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, InvalidTimeZoneException, DirectoryException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionPlatformNotSupportedExceptionLdapExceptionDirectoryOperationExceptionOutOfMemoryExceptionCryptographicExceptionAccessViolationExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidTimeZoneExceptionDirectoryExceptionpublic void Bind()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
CryptographicException,
InvalidOperationException,
ArgumentException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
NotSupportedException,
PlatformNotSupportedException,
LdapException,
DirectoryOperationException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionOutOfMemoryExceptionCryptographicExceptionInvalidOperationExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionNotSupportedExceptionPlatformNotSupportedExceptionLdapExceptionDirectoryOperationExceptionpublic void Bind(NetworkCredential newCredential) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, OutOfMemoryException, CryptographicException, InvalidOperationException, ArgumentException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, NotSupportedException, PlatformNotSupportedException, LdapException, DirectoryOperationException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionOutOfMemoryExceptionCryptographicExceptionInvalidOperationExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionNotSupportedExceptionPlatformNotSupportedExceptionLdapExceptionDirectoryOperationExceptionpublic static LdapConnection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into LdapConnection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedLdapConnection instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic DirectoryResponse EndSendRequest(IAsyncResult asyncResult) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, FormatException, AbandonedMutexException, RankException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionFormatExceptionAbandonedMutexExceptionRankExceptionpublic AuthType getAuthType() throws java.lang.Throwable
java.lang.Throwablepublic boolean getAutoBind()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DirectoryConnectionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DirectoryConnectionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DirectoryConnectionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DirectoryConnectionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class DirectoryConnectionJCType representing the CLR Type of the instantiated Classpublic PartialResultsCollection GetPartialResults(IAsyncResult asyncResult) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, FormatException, RankException, XPathException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionFormatExceptionRankExceptionXPathExceptionpublic LdapSessionOptions getSessionOptions() throws java.lang.Throwable
java.lang.Throwablepublic DirectoryResponse SendRequest(DirectoryRequest request) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, NotSupportedException, PlatformNotSupportedException, LdapException, DirectoryOperationException, OutOfMemoryException, AccessViolationException, IndexOutOfRangeException, UriFormatException, XPathException, DsmlInvalidDocumentException, FormatException, DirectoryException
SendRequest in class DirectoryConnectionjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionNotSupportedExceptionPlatformNotSupportedExceptionLdapExceptionDirectoryOperationExceptionOutOfMemoryExceptionAccessViolationExceptionIndexOutOfRangeExceptionUriFormatExceptionXPathExceptionDsmlInvalidDocumentExceptionFormatExceptionDirectoryExceptionpublic DirectoryResponse SendRequest(DirectoryRequest request, TimeSpan requestTimeout) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, PlatformNotSupportedException, LdapException, DirectoryOperationException, OutOfMemoryException, CryptographicException, AccessViolationException, FormatException, SecurityException, UriFormatException, XPathException, DsmlInvalidDocumentException, DirectoryException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionLdapExceptionDirectoryOperationExceptionOutOfMemoryExceptionCryptographicExceptionAccessViolationExceptionFormatExceptionSecurityExceptionUriFormatExceptionXPathExceptionDsmlInvalidDocumentExceptionDirectoryExceptionpublic void setAuthType(AuthType AuthType) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic void setAutoBind(boolean AutoBind)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class DirectoryConnection