org.ldaptive.ad.control
Class ForceUpdateControl

java.lang.Object
  extended by org.ldaptive.control.AbstractControl
      extended by org.ldaptive.ad.control.ForceUpdateControl
All Implemented Interfaces:
Control, RequestControl

public class ForceUpdateControl
extends AbstractControl
implements RequestControl

Request control for active directory servers to perform an update even if the data is already the same. See http://msdn.microsoft.com/en-us/library/cc223344.aspx

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Field Summary
static String OID
          OID of this control.
 
Fields inherited from class org.ldaptive.control.AbstractControl
logger
 
Constructor Summary
ForceUpdateControl()
          Default constructor.
ForceUpdateControl(boolean critical)
          Creates a new force update control.
 
Method Summary
 byte[] encode()
          Provides the BER encoding of this control.
 int hashCode()
          Returns the hash code for this object.
 String toString()
          
 
Methods inherited from class org.ldaptive.control.AbstractControl
equals, getCriticality, getOID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ldaptive.control.Control
getCriticality, getOID
 

Field Detail

OID

public static final String OID
OID of this control.

See Also:
Constant Field Values
Constructor Detail

ForceUpdateControl

public ForceUpdateControl()
Default constructor.


ForceUpdateControl

public ForceUpdateControl(boolean critical)
Creates a new force update control.

Parameters:
critical - whether this control is critical
Method Detail

hashCode

public int hashCode()
Returns the hash code for this object.

Specified by:
hashCode in class AbstractControl
Returns:
hash code

toString

public String toString()

Overrides:
toString in class Object

encode

public byte[] encode()
Provides the BER encoding of this control.

Specified by:
encode in interface RequestControl
Returns:
BER encoded request control


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.