public class LdapProvider extends Provider
BERLIB_PROPFILE, BERLIB_PROVIDER, DEFAULT_PROVIDER, PROVIDER_MONITOR_KEY, USING_DEFAULTS_MSG
Modifier and Type | Method and Description |
---|---|
ProviderDecoder |
getDecoder(BinaryAttributeDetector binaryAttributeDetector,
int maxPDUSize)
Gets the decoder associated with this provider.
|
ProviderEncoder |
getEncoder()
Gets the encoder associated with this provider.
|
static Provider |
getProvider()
Gets a handle on the singleton LdapProvider.
|
getEnvironment, getName, getProvider, getVendor
public static Provider getProvider()
public ProviderEncoder getEncoder() throws ProviderException
getEncoder
in class Provider
ProviderException
- if the provider or its encoder cannot be foundpublic ProviderDecoder getDecoder(BinaryAttributeDetector binaryAttributeDetector, int maxPDUSize) throws ProviderException
getDecoder
in class Provider
binaryAttributeDetector
- detects whether or not attributes are binarymaxPDUSize
- the maximum size a PDU can beProviderException
- if the provider or its decoder cannot be foundCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.