Class BackendConfigManager.NamingContext

  • Enclosing class:
    BackendConfigManager

    public static class BackendConfigManager.NamingContext
    extends Object
    Represents a naming context, determined by its base DN.

    A naming context may be private or public, top-level or sub-suffix, local or non-local.

    This class provides predicates to be able to filter on a provided set of naming contexts.

    • Method Detail

      • getBaseDN

        public DN getBaseDN()
        Retrieves the base DN of the naming context.
        Returns:
        the baseDN
      • isPrivate

        public boolean isPrivate()
        Indicates whether this naming context corresponds to a private backend.
        Returns:
        true if naming context is private, false otherwise
      • isSubSuffix

        public boolean isSubSuffix()
        Indicates whether this naming context corresponds to a sub-suffix (a non top-level naming context).
        Returns:
        true if naming context is a sub-suffix, false otherwise
      • isLocal

        public boolean isLocal()
        Indicates whether this naming context corresponds to a local backend.
        Returns:
        true if naming context is local, false otherwise