Fix FAQ ID

Cannot have a ? in the id
This commit is contained in:
Rob Winch
2023-07-06 10:40:38 -05:00
committed by Josh Cummings
parent d4fb2697bb
commit 7c743bf7d3

View File

@@ -5,7 +5,7 @@
[[operational-attributes]]
== Operational Attributes
[[how-do-i-remove-an-operational-attribute-by-using-context-removeattributevalue?]]
[[how-do-i-remove-an-operational-attribute-by-using-context-removeattributevalue]]
=== How do I remove an operational attribute by using `context.removeAttributeValue()`?
By default, the `DirContextAdapter` reads only the visible attributes. This is because the operational attributes are returned by the server only if explicitly asked for, and there is no way for Spring LDAP to know the attributes for which to ask. This means that the `DirContextAdapter` is not populated with the operational attributes. Consequently, the `removeAttributeValue` does not have any effect (since, from the point of view of the `DirContextAdapter`, it was not there in the first place).