Interface RegistryInternalConstants


public interface RegistryInternalConstants
Internal constants for the registry. These are the things which aren't visible to users.
  • Field Details

    • VALID_PATH_ENTRY_PATTERN

      static final String VALID_PATH_ENTRY_PATTERN
      Pattern of a single entry in the registry path. : "([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])".

      This is what constitutes a valid hostname according to current RFCs. Alphanumeric first two and last one digit, alphanumeric and hyphens allowed in between.

      No upper limit is placed on the size of an entry.

      See Also:
    • PERMISSIONS_REGISTRY_READERS

      static final int PERMISSIONS_REGISTRY_READERS
      Permissions for readers: 1.
      See Also:
    • PERMISSIONS_REGISTRY_SYSTEM_SERVICES

      static final int PERMISSIONS_REGISTRY_SYSTEM_SERVICES
      Permissions for system services: 31
      See Also:
    • PERMISSIONS_REGISTRY_USER_ROOT

      static final int PERMISSIONS_REGISTRY_USER_ROOT
      Permissions for a user's root entry: 15. All except the admin permissions (ACL access) on a node
      See Also:
    • SASLAUTHENTICATION_PROVIDER

      static final String SASLAUTHENTICATION_PROVIDER
      Name of the SASL auth provider which has to be added to ZK server to enable sasl: auth patterns: "org.apache.zookeeper.server.auth.SASLAuthenticationProvider". Without this callers can connect via SASL, but they can't use it in ACLs
      See Also:
    • ZOOKEEPER_AUTH_PROVIDER

      static final String ZOOKEEPER_AUTH_PROVIDER
      String to use as the prefix when declaring a new auth provider: "zookeeper.authProvider".
      See Also:
    • HADOOP_USER_NAME

      static final String HADOOP_USER_NAME
      This the Hadoop environment variable which propagates the identity of a user in an insecure cluster
      See Also: