mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
08.55.2006 83bd31c260f42941c571acab45b8927c906a0155
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
1 files modified
5 ■■■■ changed files
opends/src/server/org/opends/server/backends/MonitorBackend.java 5 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/MonitorBackend.java
@@ -313,7 +313,10 @@
    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;
    }