Class TrustStoreBackendCfgDefn


  • public final class TrustStoreBackendCfgDefn
    extends ManagedObjectDefinition<TrustStoreBackendCfgClient,​TrustStoreBackendCfg>
    An interface for querying the Trust Store Backend managed object definition meta information.

    The Trust Store Backend provides an LDAP view of a file-based trust store. It is used by the administrative cryptographic framework.

    • Method Detail

      • getInstance

        public static TrustStoreBackendCfgDefn getInstance()
        Get the Trust Store Backend configuration definition singleton.
        Returns:
        Returns the Trust Store Backend configuration definition singleton.
      • getBackendIdPropertyDefinition

        public StringPropertyDefinition getBackendIdPropertyDefinition()
        Get the "backend-id" property definition.

        Specifies a name to identify the associated backend.

        The name must be unique among all backends in the server. The backend ID may not be altered after the backend is created in the server.

        Returns:
        Returns the "backend-id" property definition.
      • getBaseDNPropertyDefinition

        public DNPropertyDefinition getBaseDNPropertyDefinition()
        Get the "base-dn" property definition.

        Specifies the base DN(s) for the data that the backend handles.

        A single backend may be responsible for one or more base DNs. Note that no two backends may have the same base DN although one backend may have a base DN that is below a base DN provided by another backend (similar to the use of sub-suffixes in the Sun Java System Directory Server). If any of the base DNs is subordinate to a base DN for another backend, then all base DNs for that backend must be subordinate to that same base DN.

        Returns:
        Returns the "base-dn" property definition.
      • getEnabledPropertyDefinition

        public BooleanPropertyDefinition getEnabledPropertyDefinition()
        Get the "enabled" property definition.

        Indicates whether the backend is enabled in the server.

        If a backend is not enabled, then its contents are not accessible when processing operations.

        Returns:
        Returns the "enabled" property definition.
      • getJavaClassPropertyDefinition

        public ClassPropertyDefinition getJavaClassPropertyDefinition()
        Get the "java-class" property definition.

        Specifies the fully-qualified name of the Java class that provides the backend implementation.

        Returns:
        Returns the "java-class" property definition.
      • getTrustStoreFilePropertyDefinition

        public StringPropertyDefinition getTrustStoreFilePropertyDefinition()
        Get the "trust-store-file" property definition.

        Specifies the path to the file that stores the trust information.

        It may be an absolute path, or a path that is relative to the OpenDJ instance root.

        Returns:
        Returns the "trust-store-file" property definition.
      • getTrustStorePinPropertyDefinition

        public StringPropertyDefinition getTrustStorePinPropertyDefinition()
        Get the "trust-store-pin" property definition.

        Specifies the clear-text PIN needed to access the Trust Store Backend .

        Returns:
        Returns the "trust-store-pin" property definition.
      • getTrustStorePinEnvironmentVariablePropertyDefinition

        public StringPropertyDefinition getTrustStorePinEnvironmentVariablePropertyDefinition()
        Get the "trust-store-pin-environment-variable" property definition.

        Specifies the name of the environment variable that contains the clear-text PIN needed to access the Trust Store Backend .

        Returns:
        Returns the "trust-store-pin-environment-variable" property definition.
      • getTrustStorePinFilePropertyDefinition

        public StringPropertyDefinition getTrustStorePinFilePropertyDefinition()
        Get the "trust-store-pin-file" property definition.

        Specifies the path to the text file whose only contents should be a single line containing the clear-text PIN needed to access the Trust Store Backend .

        Returns:
        Returns the "trust-store-pin-file" property definition.
      • getTrustStorePinPropertyPropertyDefinition

        public StringPropertyDefinition getTrustStorePinPropertyPropertyDefinition()
        Get the "trust-store-pin-property" property definition.

        Specifies the name of the Java property that contains the clear-text PIN needed to access the Trust Store Backend .

        Returns:
        Returns the "trust-store-pin-property" property definition.
      • getTrustStoreTypePropertyDefinition

        public StringPropertyDefinition getTrustStoreTypePropertyDefinition()
        Get the "trust-store-type" property definition.

        Specifies the format for the data in the key store file.

        Valid values should always include 'JKS' and 'PKCS12', but different implementations may allow other values as well.

        Returns:
        Returns the "trust-store-type" property definition.
      • getWritabilityModePropertyDefinition

        public EnumPropertyDefinition<LocalBackendCfgDefn.WritabilityMode> getWritabilityModePropertyDefinition()
        Get the "writability-mode" property definition.

        Specifies the behavior that the backend should use when processing write operations.

        Returns:
        Returns the "writability-mode" property definition.