org.ldaptive.provider.jndi
Class JndiControlHandler

java.lang.Object
  extended by org.ldaptive.provider.jndi.JndiControlHandler
All Implemented Interfaces:
ControlHandler<Control>

public class JndiControlHandler
extends Object
implements ControlHandler<Control>

JNDI request control handler.

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

Constructor Summary
JndiControlHandler()
           
 
Method Summary
 String getOID(Control control)
          Returns the OID of the supplied control.
 Control handleRequest(RequestControl requestControl)
          Converts the supplied control to a provider specific request control.
 ResponseControl handleResponse(Control responseControl)
          Converts the supplied provider control to a response control.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiControlHandler

public JndiControlHandler()
Method Detail

getOID

public String getOID(Control control)
Returns the OID of the supplied control.

Specified by:
getOID in interface ControlHandler<Control>
Parameters:
control - to return oid for
Returns:
control oid

handleRequest

public Control handleRequest(RequestControl requestControl)
Converts the supplied control to a provider specific request control.

Specified by:
handleRequest in interface ControlHandler<Control>
Parameters:
requestControl - to convert
Returns:
provider specific controls

handleResponse

public ResponseControl handleResponse(Control responseControl)
Converts the supplied provider control to a response control.

Specified by:
handleResponse in interface ControlHandler<Control>
Parameters:
responseControl - to convert
Returns:
control


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