com.netscape.jndi.ldap.controls
Class LdapProxiedAuthControl
LDAPProxiedAuthControl
com.netscape.jndi.ldap.controls.LdapProxiedAuthControl
- Control
public class LdapProxiedAuthControl
extends LDAPProxiedAuthControl
implements Control
Represents an LDAP v3 server control that specifies that you want
the server to use the specified DN's identity for this operation.
(The OID for this control is 2.16.840.1.113730.3.4.12.) *
LdapProxiedAuthControl(String dn, boolean critical) - Constructs an
LdapProxiedAuthControl object with a
DN to use as identity.
|
byte[] | getEncodedValue() - Retrieves the ASN.1 BER encoded value of the LDAP control.
|
LdapProxiedAuthControl
public LdapProxiedAuthControl(String dn,
boolean critical)
Constructs an 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).
getEncodedValue
public byte[] getEncodedValue()
Retrieves the ASN.1 BER encoded value of the LDAP control.
Null is returned if the value is absent.
- A possibly null byte array representing the ASN.1 BER
encoded value of the LDAP control.