com.netscape.jndi.ldap.controls
Class NetscapeControlFactory
java.lang.Object
javax.naming.ldap.ControlFactory
com.netscape.jndi.ldap.controls.NetscapeControlFactory
public class NetscapeControlFactory
- extends javax.naming.ldap.ControlFactory
Method Summary |
javax.naming.ldap.Control |
getControlInstance(javax.naming.ldap.Control ctrl)
Creates a control using this control factory |
static javax.naming.ldap.Control |
getControlInstance(LDAPControl rawCtrl)
Create a JNDI control from a raw ldapjdk control |
Methods inherited from class javax.naming.ldap.ControlFactory |
getControlInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQ_SORT
static final java.lang.String REQ_SORT
- See Also:
- Constant Field Values
RSP_SORT
static final java.lang.String RSP_SORT
- See Also:
- Constant Field Values
REQ_MANAGEDSAIT
static final java.lang.String REQ_MANAGEDSAIT
- See Also:
- Constant Field Values
REQ_PERSISTENTSEARCH
static final java.lang.String REQ_PERSISTENTSEARCH
- See Also:
- Constant Field Values
RSP_PWDEXPIRED
static final java.lang.String RSP_PWDEXPIRED
- See Also:
- Constant Field Values
RSP_PWDEXPIRING
static final java.lang.String RSP_PWDEXPIRING
- See Also:
- Constant Field Values
RSP_ENTRYCHANGED
static final java.lang.String RSP_ENTRYCHANGED
- See Also:
- Constant Field Values
REQ_VIRTUALLIST
static final java.lang.String REQ_VIRTUALLIST
- See Also:
- Constant Field Values
RSP_VIRTUALLIST
static final java.lang.String RSP_VIRTUALLIST
- See Also:
- Constant Field Values
REQ_PROXIEDAUTH
static final java.lang.String REQ_PROXIEDAUTH
- See Also:
- Constant Field Values
NetscapeControlFactory
public NetscapeControlFactory()
getControlInstance
public javax.naming.ldap.Control getControlInstance(javax.naming.ldap.Control ctrl)
throws javax.naming.NamingException
- Creates a control using this control factory
- Specified by:
getControlInstance
in class javax.naming.ldap.ControlFactory
- Parameters:
ctrl
- A non-null control.
- Returns:
- A possibly null Control.
- Throws:
javax.naming.NamingException
- If ctrl contains invalid data that prevents it from
being used to create a control.
getControlInstance
public static javax.naming.ldap.Control getControlInstance(LDAPControl rawCtrl)
throws javax.naming.NamingException
- Create a JNDI control from a raw ldapjdk control
- Parameters:
ctrl
- A non-null control.
- Returns:
- A possibly null Control.
- Throws:
javax.naming.NamingException
- If ctrl contains invalid data that prevents it from
being used to create a control.