[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Extensibility of LDAPExtendedOperation



Steve Sonntag wrote:
> 
> Rob,
> 
> The classes for extended operation/response are not
> extensible in the sense that it is not possible upon receipt
> of an extended response with a given OID for an application
> to specify the class to instantiate.
> 
> The LDAPExtendedOperation class needs a register method
> similar to the one specified in LDAPControl.
> 
> This would allow the specification of classes that
> extend LDAPExtendedResponse to be instantiated
> automatically by the API upon receipt of the specified
> OID.
> 
> The code could read something like:
> 
> 2.16.4 register
> 
> public static void register(String oid, Class controlClass)
> 
> Register a class to be instantiated on receipt of an
> ldap extended response with the given oid.  Any
> previous registration for the oid is overridden.  The
> controllClass MUST be an extension of LDAPExtendedResponse.
> 
> Parameters are:
> 
>    oid    The object Identifier of the Control
> 
>    controlClass A class which can instantiate an LDAPControl.
> 
> Any thoughts, comments?


  Looks like you copied and pasted the text for LDAPControl.

  But other than that, I agree that extended response processing is
analogous to control processing from a client perspective.

Rob

> 
> -Steve