1. /*
  2. * @(#)ManageReferralControl.java 1.3 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.naming.ldap;
  8. /**
  9. * Requests that referral and other special LDAP objects be manipulated
  10. * as normal LDAP objects. It enables the requestor to interrogate or
  11. * update such objects.
  12. *<p>
  13. * This class implements the LDAPv3 Request Control for ManageDsaIT
  14. * as defined in
  15. * <a href="http://www.ietf.org/rfc/rfc3296.txt">RFC 3296</a>.
  16. *
  17. * The control has no control value.
  18. *
  19. * @since 1.5
  20. * @author Vincent Ryan
  21. */
  22. final public class ManageReferralControl extends BasicControl {
  23. /**
  24. * The ManageReferral control's assigned object identifier
  25. * is 2.16.840.1.113730.3.4.2.
  26. */
  27. public static final String OID = "2.16.840.1.113730.3.4.2";
  28. private static final long serialVersionUID = 3017756160149982566L;
  29. /**
  30. * Constructs a critical ManageReferral control.
  31. */
  32. public ManageReferralControl() {
  33. super(OID, true, null);
  34. }
  35. /**
  36. * Constructs a ManageReferral control.
  37. *
  38. * @param criticality The control's criticality setting.
  39. */
  40. public ManageReferralControl(boolean criticality) {
  41. super(OID, criticality, null);
  42. }
  43. }