Class SearchRequestProcessor

java.lang.Object
tigase.ldap.processors.AbstractLDAPProcessor<com.unboundid.ldap.protocol.SearchRequestProtocolOp>
tigase.ldap.processors.SearchRequestProcessor
All Implemented Interfaces:
LDAPProcessor<com.unboundid.ldap.protocol.SearchRequestProtocolOp>

@Bean(name="searchRequest", active=true, parent=LdapConnectionManager.class) public class SearchRequestProcessor extends AbstractLDAPProcessor<com.unboundid.ldap.protocol.SearchRequestProtocolOp>
  • Constructor Details

    • SearchRequestProcessor

      public SearchRequestProcessor()
  • Method Details

    • getSupportedProtocolOp

      public Class<com.unboundid.ldap.protocol.SearchRequestProtocolOp> getSupportedProtocolOp()
      Description copied from interface: LDAPProcessor
      Method returns class that is supported by this processor
      Returns:
      class of ProtocolOp supported by processor
    • process

      public void process(LDAPSession session, com.unboundid.ldap.protocol.SearchRequestProtocolOp searchRequest, Consumer<com.unboundid.ldap.protocol.ProtocolOp> consumer) throws Exception
      Description copied from interface: LDAPProcessor
      Method responsible for actual execution of the request
      Parameters:
      session - instance of LDAPSession containing authenticated user data
      searchRequest - instance of the request to be executed
      consumer - method to call when processing is finished
      Throws:
      Exception - if unrecoverable error will happen