KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > naming > ldap > ManageReferralControl


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
8 package javax.naming.ldap;
9
10 /**
11  * Requests that referral and other special LDAP objects be manipulated
12  * as normal LDAP objects. It enables the requestor to interrogate or
13  * update such objects.
14  *<p>
15  * This class implements the LDAPv3 Request Control for ManageDsaIT
16  * as defined in
17  * <a HREF="http://www.ietf.org/rfc/rfc3296.txt">RFC 3296</a>.
18  *
19  * The control has no control value.
20  *
21  * @since 1.5
22  * @author Vincent Ryan
23  */

24 final public class ManageReferralControl extends BasicControl JavaDoc {
25
26     /**
27      * The ManageReferral control's assigned object identifier
28      * is 2.16.840.1.113730.3.4.2.
29      */

30     public static final String JavaDoc OID = "2.16.840.1.113730.3.4.2";
31
32     private static final long serialVersionUID = 3017756160149982566L;
33
34     /**
35      * Constructs a critical ManageReferral control.
36      */

37     public ManageReferralControl() {
38     super(OID, true, null);
39     }
40
41     /**
42      * Constructs a ManageReferral control.
43      *
44      * @param criticality The control's criticality setting.
45      */

46     public ManageReferralControl(boolean criticality) {
47     super(OID, criticality, null);
48     }
49 }
50
Popular Tags