Interface Filter

  • All Known Subinterfaces:
    FilterSet
    All Known Implementing Classes:
    AbstractAttributeValueAssertionFilter, AndFilter, ApproximateFilter, EqualityFilter, ExtensibleFilter, GreaterOrEqualFilter, LessOrEqualFilter, NotFilter, OrFilter, PresenceFilter, SubstringFilter

    public interface Filter
    LDAP search filter defined as:
       Filter ::= CHOICE {
         and             [0] SET SIZE (1..MAX) OF filter Filter,
         or              [1] SET SIZE (1..MAX) OF filter Filter,
         not             [2] Filter,
         equalityMatch   [3] AttributeValueAssertion,
         substrings      [4] SubstringFilter,
         greaterOrEqual  [5] AttributeValueAssertion,
         lessOrEqual     [6] AttributeValueAssertion,
         present         [7] AttributeDescription,
         approxMatch     [8] AttributeValueAssertion,
         extensibleMatch [9] MatchingRuleAssertion,
         ...  }
    
       SubstringFilter ::= SEQUENCE {
         type           AttributeDescription,
         substrings     SEQUENCE SIZE (1..MAX) OF substring CHOICE {
         initial [0] AssertionValue,  -- can occur at most once
         any     [1] AssertionValue,
         final   [2] AssertionValue } -- can occur at most once
       }
    
       MatchingRuleAssertion ::= SEQUENCE {
         matchingRule    [1] MatchingRuleId OPTIONAL,
         type            [2] AttributeDescription OPTIONAL,
         matchValue      [3] AssertionValue,
         dnAttributes    [4] BOOLEAN DEFAULT FALSE }
     
    • Method Detail

      • getEncoder

        DEREncoder getEncoder()
        Returns the encoder for this filter.
        Returns:
        DER encoder