public final class ObjectPropertyMapper extends PropertyMapper
Modifier and Type | Method and Description |
---|---|
ObjectPropertyMapper |
excludedDefaultUserAttributes(Collection<String> attributeNames)
Specifies zero or more user attributes which will be excluded from the default user attribute mappings when
enabled using
includeAllUserAttributesByDefault(boolean) . |
ObjectPropertyMapper |
excludedDefaultUserAttributes(String... attributeNames)
Specifies zero or more user attributes which will be excluded from the default user attribute mappings when
enabled using
includeAllUserAttributesByDefault(boolean) . |
ObjectPropertyMapper |
includeAllUserAttributesByDefault(boolean include)
Specifies whether all LDAP user attributes should be mapped by default using the default schema based mapping
rules.
|
ObjectPropertyMapper |
property(String name,
PropertyMapper mapper)
Creates an explicit mapping for a property contained in the JSON object.
|
String |
toString() |
public ObjectPropertyMapper property(String name, PropertyMapper mapper)
included
by default, be careful to exclude
any attributes which have explicit mappings defined using
this method, otherwise they will be duplicated in the JSON representation.name
- The name of the JSON property to be mapped.mapper
- The property mapper responsible for mapping the JSON attribute to LDAP attribute(s).public ObjectPropertyMapper includeAllUserAttributesByDefault(boolean include)
excludedDefaultUserAttributes(Collection)
in order
to prevent attributes with explicit mappings being mapped twice.include
- true
if all LDAP user attributes be mapped by default.public ObjectPropertyMapper excludedDefaultUserAttributes(String... attributeNames)
includeAllUserAttributesByDefault(boolean)
. Attributes which have explicit mappings
should be excluded in order to prevent duplication.attributeNames
- The list of attributes to be excluded.public ObjectPropertyMapper excludedDefaultUserAttributes(Collection<String> attributeNames)
includeAllUserAttributesByDefault(boolean)
. Attributes which have explicit mappings
should be excluded in order to prevent duplication.attributeNames
- The list of attributes to be excluded.Copyright 2010-2018 ForgeRock AS.