public final class ReferencePropertyMapper extends PropertyMapper
Modifier and Type | Method and Description |
---|---|
T |
isMultiValued(boolean isMultiValued)
Indicates that the LDAP attribute is multi-valued and should be represented in JSON using an array of values.
|
T |
isRequired(boolean isRequired)
Indicates that the LDAP attribute is mandatory and must be provided during create requests.
|
static void |
putWritabilityProperties(WritabilityPolicy writabilityPolicy,
JsonValue jsonSchema) |
ReferencePropertyMapper |
searchFilter(Filter filter)
Sets the filter which should be used when searching for referenced LDAP
entries.
|
ReferencePropertyMapper |
searchFilter(String filter)
Sets the filter which should be used when searching for referenced LDAP
entries.
|
ReferencePropertyMapper |
searchScope(SearchScope scope)
Sets the search scope which should be used when searching for referenced
LDAP entries.
|
String |
toString() |
T |
writability(WritabilityPolicy policy)
Indicates whether the LDAP attribute supports updates.
|
public ReferencePropertyMapper searchFilter(Filter filter)
(objectClass=*)
.filter
- The filter which should be used when searching for referenced
LDAP entries.public ReferencePropertyMapper searchFilter(String filter)
(objectClass=*)
.filter
- The filter which should be used when searching for referenced
LDAP entries.public ReferencePropertyMapper searchScope(SearchScope scope)
SearchScope.WHOLE_SUBTREE
.scope
- The search scope which should be used when searching for
referenced LDAP entries.public final T isRequired(boolean isRequired)
isRequired
- true
if this property is required.public final T isMultiValued(boolean isMultiValued)
isMultiValued
- true
if this property is multi-valued.public final T writability(WritabilityPolicy policy)
WritabilityPolicy.READ_WRITE
.policy
- The writability policy.public static void putWritabilityProperties(WritabilityPolicy writabilityPolicy, JsonValue jsonSchema)
Copyright 2010-2018 ForgeRock AS.