public class LDAPSearchHandler extends BaseResourceHandler
contextURI, handlerResourceURI, resInfo
Constructor and Description |
---|
LDAPSearchHandler(BusResourceInfo resInfo,
java.lang.String contextURI) |
Modifier and Type | Method and Description |
---|---|
protected javax.naming.ldap.LdapContext |
createSearchLdapContext(LdapContextSettings settings)
Creates a LDAP context to be used for searches.
|
protected javax.naming.directory.SearchControls |
getUserSearchControls(java.lang.String searchScope,
java.lang.String[] attributes)
Returns the search controls used for user searches.
|
BusResource |
handleRequest(ResourceContext resCtx,
BusRequest request) |
protected LoadSyncSettings |
loadSyncParamters(java.lang.String taskName,
java.lang.String instanceName)
Returns the search controls used for user searches.
|
addRelatedResources, asPath, createClassResource, createMemberResource, createThisResource, createURI, getBusMember, handleResourceRequest, isCollectionHandler, printContext, printProps
public LDAPSearchHandler(BusResourceInfo resInfo, java.lang.String contextURI)
public BusResource handleRequest(ResourceContext resCtx, BusRequest request) throws MXException, java.rmi.RemoteException
handleRequest
in class BaseResourceHandler
MXException
java.rmi.RemoteException
protected javax.naming.ldap.LdapContext createSearchLdapContext(LdapContextSettings settings) throws javax.naming.NamingException
javax.naming.NamingException
protected javax.naming.directory.SearchControls getUserSearchControls(java.lang.String searchScope, java.lang.String[] attributes)
protected LoadSyncSettings loadSyncParamters(java.lang.String taskName, java.lang.String instanceName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException