Update the monitor backend so that the cn=monitor entry does not expose
internal configuration attributes like the backend ID, base DNs, and
writability mode.
OpenDS Issue Number: 1068
| | |
| | | AttributeType attrType = attribute.getAttributeType(); |
| | | if (attrType.hasName(ATTR_COMMON_NAME) || |
| | | attrType.hasName(ATTR_BACKEND_ENABLED.toLowerCase()) || |
| | | attrType.hasName(ATTR_BACKEND_CLASS.toLowerCase())) |
| | | attrType.hasName(ATTR_BACKEND_CLASS.toLowerCase()) || |
| | | attrType.hasName(ATTR_BACKEND_BASE_DN.toLowerCase()) || |
| | | attrType.hasName(ATTR_BACKEND_ID.toLowerCase()) || |
| | | attrType.hasName(ATTR_BACKEND_WRITABILITY_MODE.toLowerCase())) |
| | | { |
| | | return true; |
| | | } |