class MatchingRuleAssertionFilter extends AbstractFilter
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
attribute
The associated attribute
|
private java.lang.String |
matchingRule
The rule to use
|
private FilterOperator |
operator
The Filter operator
|
private boolean |
useDnAttributes
Whether or not to include dn attributes in the matching
|
private java.lang.String |
value
The filter value
|
| Constructor and Description |
|---|
MatchingRuleAssertionFilter(java.lang.String attribute,
java.lang.String value,
FilterOperator operator)
Creates a new instance of MatchingRuleAssertionFilter.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
build(java.lang.StringBuilder builder) |
static MatchingRuleAssertionFilter |
extensible(java.lang.String value)
Creates a new instance of MatchingRuleAssertionFilter without an attribute.
|
static MatchingRuleAssertionFilter |
extensible(java.lang.String attribute,
java.lang.String value)
Creates an extensible filter
|
MatchingRuleAssertionFilter |
setMatchingRule(java.lang.String matchingRule)
Sets the matching rule to use.
|
MatchingRuleAssertionFilter |
useDnAttributes()
If set, the dn attributes will be included in the matching.
|
buildprivate java.lang.String attribute
private java.lang.String matchingRule
private FilterOperator operator
private boolean useDnAttributes
private java.lang.String value
MatchingRuleAssertionFilter(java.lang.String attribute,
java.lang.String value,
FilterOperator operator)
attribute - The attribute to testvalue - The value to test foroperator - The FilterOperatorpublic static MatchingRuleAssertionFilter extensible(java.lang.String value)
value - The value to test forpublic static MatchingRuleAssertionFilter extensible(java.lang.String attribute, java.lang.String value)
attribute - The attribute to testvalue - The value to test forpublic MatchingRuleAssertionFilter setMatchingRule(java.lang.String matchingRule)
matchingRule - The matching rule to usepublic MatchingRuleAssertionFilter useDnAttributes()
public java.lang.StringBuilder build(java.lang.StringBuilder builder)