Class SearchPropertiesSearchSettings

java.lang.Object
io.micronaut.security.ldap.configuration.SearchPropertiesSearchSettings
All Implemented Interfaces:
SearchSettings

public class SearchPropertiesSearchSettings extends Object implements SearchSettings
Implementation of SearchSettings that derives values from an instance of LdapConfiguration.SearchConfiguration.
Since:
1.0
Author:
James Kleeh
  • Method Details

    • isSubtree

      public boolean isSubtree()
      Specified by:
      isSubtree in interface SearchSettings
      Returns:
      True if the subtree should be searched
    • getBase

      public String getBase()
      Specified by:
      getBase in interface SearchSettings
      Returns:
      The base DN to start the search
    • getFilter

      public String getFilter()
      Specified by:
      getFilter in interface SearchSettings
      Returns:
      The search filter
    • getArguments

      public Object[] getArguments()
      Specified by:
      getArguments in interface SearchSettings
      Returns:
      The search filter arguments
    • getAttributes

      public String[] getAttributes()
      Description copied from interface: SearchSettings
      A null value indicates all attributes should be returned.
      Specified by:
      getAttributes in interface SearchSettings
      Returns:
      Which attributes should be returned from the search