public class LdapProxiedAuthControl
extends netscape.ldap.controls.LDAPProxiedAuthControl
implements javax.naming.ldap.Control
Constructor and Description |
---|
LdapProxiedAuthControl(java.lang.String dn,
boolean critical)
Constructs an
LdapProxiedAuthControl object with a
DN to use as identity. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncodedValue()
Retrieves the ASN.1 BER encoded value of the LDAP control.
|
clone, createControl, flattenBER, getID, getValue, isCritical, lookupControlClass, newInstance, register
public LdapProxiedAuthControl(java.lang.String dn, boolean critical)
LdapProxiedAuthControl
object with a
DN to use as identity.dn
- DN to use as identity for execution of a request.critical
- true
if the LDAP operation should be
discarded when the server does not support this control (in other
words, this control is critical to the LDAP operation).public byte[] getEncodedValue()
getEncodedValue
in interface javax.naming.ldap.Control