Class ExtendedDnControl

  • All Implemented Interfaces:
    Control, RequestControl

    public class ExtendedDnControl
    extends AbstractControl
    implements RequestControl
    Request control for active directory servers to use an extended form of an object distinguished name. Control is defined as:
        extendedDnValue ::= SEQUENCE {
              flag  INTEGER
        }
     

    See http://msdn.microsoft.com/en-us/library/cc223349.aspx

    Author:
    Middleware Services
    • Constructor Detail

      • ExtendedDnControl

        public ExtendedDnControl()
        Default constructor.
      • ExtendedDnControl

        public ExtendedDnControl​(ExtendedDnControl.Flag f)
        Creates a new extended dn control.
        Parameters:
        f - flag
      • ExtendedDnControl

        public ExtendedDnControl​(ExtendedDnControl.Flag f,
                                 boolean critical)
        Creates a new extended dn control.
        Parameters:
        f - flag
        critical - whether this control is critical
    • Method Detail

      • hasValue

        public boolean hasValue()
        Description copied from interface: RequestControl
        Returns whether the control has a value associated with it.
        Specified by:
        hasValue in interface RequestControl
        Returns:
        whether the control has a value
      • hashCode

        public int hashCode()
        Description copied from class: AbstractControl
        Returns the hash code for this object.
        Specified by:
        hashCode in class AbstractControl
        Returns:
        hash code
      • encode

        public byte[] encode()
        Description copied from interface: RequestControl
        Provides the BER encoding of this control.
        Specified by:
        encode in interface RequestControl
        Returns:
        BER encoded request control