go to  ForumEasy.com   
LdapPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  LDAP Persistent Search Control -- JNDI Client
 
Subject: LDAP Persistent Search Control -- JNDI Client
Author: SteveHB
Posted on: 03/13/2007 01:32:06 PM

The LDAP Persistent Search Control is to alter the standard LDAP search operation so that it does not end after the initial set of entries matching the search criteria are returned. Instead, LDAP servers keep the search operation going. This provides clients and servers participating in Persistent Search with an active channel through which entries that change (and additional information about the changes that occur) can be communicated.


From the client's point of view, the control sent to server may be included in the Controls portion of an LDAPv3 SearchRequest message, as defined in Section 4.1.12 of [LDAPv3]. The structure of this control is as follows:

	PersistentSearchControl ::= SEQUENCE {
        	controlType     2.16.840.1.113730.3.4.3,
	        criticality     BOOLEAN DEFAULT FALSE,
	        controlValue    persistentSearchControlValue
	}


The persistentSearchControlValue is an OCTET STRING wrapping the BER-encoded
version of the following SEQUENCE:

	persistentSearchControlValue::= SEQUENCE {
                   changeTypes INTEGER,
			-- add(1)|delete(2)|modify(4)|modDN(8)
                   changesOnly BOOLEAN,
                   returnECs BOOLEAN
	}



Replies:


References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.