Class LdapMapQuery

All Implemented Interfaces:

public class LdapMapQuery extends Object implements AutoCloseable
Default IdentityQuery implementation. LDAPQuery should be closed after use in case that pagination was used (initPagination was called) Closing LDAPQuery is very important in case ldapContextManager contains VaultSecret
Shane Bryzak
  • Constructor Details

    • LdapMapQuery

      public LdapMapQuery()
  • Method Details

    • setSearchDn

      public void setSearchDn(String searchDn)
    • addObjectClasses

      public void addObjectClasses(Collection<String> objectClasses)
    • addReturningLdapAttribute

      public void addReturningLdapAttribute(String ldapAttributeName)
    • addReturningReadOnlyLdapAttribute

      public void addReturningReadOnlyLdapAttribute(String ldapAttributeName)
    • addMappers

      public LdapMapQuery addMappers(Collection<ComponentModel> mappers)
    • setSearchScope

      public void setSearchScope(int searchScope)
    • getSearchDn

      public String getSearchDn()
    • getObjectClasses

      public Set<String> getObjectClasses()
    • getReturningLdapAttributes

      public Set<String> getReturningLdapAttributes()
    • getReturningReadOnlyLdapAttributes

      public Set<String> getReturningReadOnlyLdapAttributes()
    • getMappers

      public List<ComponentModel> getMappers()
    • getSearchScope

      public int getSearchScope()
    • getLimit

      public int getLimit()
    • getOffset

      public int getOffset()
    • setOffset

      public LdapMapQuery setOffset(int offset)
    • setLimit

      public LdapMapQuery setLimit(int limit)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • setModelCriteriaBuilder

      public void setModelCriteriaBuilder(LdapModelCriteriaBuilder<?,?,?> ldapModelCriteriaBuilder)
    • getModelCriteriaBuilder

      public LdapModelCriteriaBuilder<?,?,?> getModelCriteriaBuilder()