class MatchingRuleAssertionFilter extends AbstractFilter
| Modifier and Type | Field and Description |
|---|---|
private String |
attribute
The associated attribute
|
private 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 String |
value
The filter value
|
| Constructor and Description |
|---|
MatchingRuleAssertionFilter(String attribute,
String value,
FilterOperator operator)
Creates a new instance of MatchingRuleAssertionFilter.
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
build(StringBuilder builder) |
static MatchingRuleAssertionFilter |
extensible(String value)
Creates a new instance of MatchingRuleAssertionFilter without an attribute.
|
static MatchingRuleAssertionFilter |
extensible(String attribute,
String value)
Creates an extensible filter
|
MatchingRuleAssertionFilter |
setMatchingRule(String matchingRule)
Sets the matching rule to use.
|
MatchingRuleAssertionFilter |
useDnAttributes()
If set, the dn attributes will be included in the matching.
|
buildprivate String attribute
private String matchingRule
private FilterOperator operator
private boolean useDnAttributes
private String value
MatchingRuleAssertionFilter(String attribute, String value, FilterOperator operator)
attribute - The attribute to testvalue - The value to test foroperator - The FilterOperatorpublic static MatchingRuleAssertionFilter extensible(String value)
value - The value to test forpublic static MatchingRuleAssertionFilter extensible(String attribute, String value)
attribute - The attribute to testvalue - The value to test forpublic MatchingRuleAssertionFilter setMatchingRule(String matchingRule)
matchingRule - The matching rule to usepublic MatchingRuleAssertionFilter useDnAttributes()
public StringBuilder build(StringBuilder builder)
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.