com.trendmicro.grid.acl
Interface Limits


public interface Limits

Describes the global configurable or compile time limits that exist inside the ACL.

Note: This file defines hard and soft limits for various data fields. Hard limits can only be changed by recompiling the complete ACL. (recompiling this file only will not change any limits)

Version:
1.0
Author:
juergen_kellerer, 2010-06-25

Field Summary
static int MAX_DISPLAY_NAME_LENGTH
          Defines the maximum amount of characters that may be used in the various display name fields.
static int MAX_INCOMING_REQUEST_BATCH_SIZE
          Defines the actually applied limit for incoming batch request.
static int MAX_NAME_LENGTH
          Defines the maximum amount of characters that may be used in the various name fields (Note: The size was chosen based on the maximum index size supported by MSSQL, it should not be increased).
static int MAX_SERIALIZED_METADATA_LENGTH
          Defines the maximum amount of bytes that the serialized metadata element may consume.
static int MAX_TAG_STRING_LENGTH
          Defines the maximum amount of characters that all tags may consume when serialized to a whitespace delimited string (hard limit, compiled-in).
static int SERIALIZED_METADATA_LENGTH
          Defines the actually applied limit for the serialized metadata length.
static int SOURCE_DOMAIN_MAX_NAME_LENGTH
          Defines the maximum amount of characters that may be used in the domain name field.
static int SOURCE_MAX_CONTENT_TAG_LENGTH
          Defines the maximum amount of characters that may be used in the content tag field.
static int SOURCE_MAX_INTERNAL_URI_LENGTH
          Defines the maximum amount of characters that may be used in the internal URI field (using ASCII URI encoding).
static int SOURCE_MAX_REMOTE_URI_LENGTH
          Defines the maximum amount of characters that may be used in the remote (public) URI field (using ASCII URI encoding).
static int TAG_STRING_LENGTH
          Defines the actually applied limit for the tag string length.
 

Field Detail

MAX_NAME_LENGTH

static final int MAX_NAME_LENGTH
Defines the maximum amount of characters that may be used in the various name fields (Note: The size was chosen based on the maximum index size supported by MSSQL, it should not be increased).

See Also:
Constant Field Values

MAX_DISPLAY_NAME_LENGTH

static final int MAX_DISPLAY_NAME_LENGTH
Defines the maximum amount of characters that may be used in the various display name fields.

See Also:
Constant Field Values

MAX_TAG_STRING_LENGTH

static final int MAX_TAG_STRING_LENGTH
Defines the maximum amount of characters that all tags may consume when serialized to a whitespace delimited string (hard limit, compiled-in).

See Also:
Constant Field Values

TAG_STRING_LENGTH

static final int TAG_STRING_LENGTH
Defines the actually applied limit for the tag string length. Configurable; via command line parameter "-Dgacl.max.tag.string.length=value".


MAX_SERIALIZED_METADATA_LENGTH

static final int MAX_SERIALIZED_METADATA_LENGTH
Defines the maximum amount of bytes that the serialized metadata element may consume. (Note: "serialized metadata" means the length of the UTF-8 encoded XML representation excluding any unnecessary whitespaces) (hard limit, compiled-in).

See Also:
Constant Field Values

SERIALIZED_METADATA_LENGTH

static final int SERIALIZED_METADATA_LENGTH
Defines the actually applied limit for the serialized metadata length. Configurable; use command line parameter "-Dgacl.max.serialized.metadata.length=value".


MAX_INCOMING_REQUEST_BATCH_SIZE

static final int MAX_INCOMING_REQUEST_BATCH_SIZE
Defines the actually applied limit for incoming batch request.

If the limit is reached, web-services will not not continue parsing a request and returning an error in order to protect the server from DOS attacks.

Configurable; use command line parameter "-Dgacl.max.incoming.request.batch.size=value".


SOURCE_MAX_REMOTE_URI_LENGTH

static final int SOURCE_MAX_REMOTE_URI_LENGTH
Defines the maximum amount of characters that may be used in the remote (public) URI field (using ASCII URI encoding).

See Also:
Constant Field Values

SOURCE_MAX_INTERNAL_URI_LENGTH

static final int SOURCE_MAX_INTERNAL_URI_LENGTH
Defines the maximum amount of characters that may be used in the internal URI field (using ASCII URI encoding).

See Also:
Constant Field Values

SOURCE_MAX_CONTENT_TAG_LENGTH

static final int SOURCE_MAX_CONTENT_TAG_LENGTH
Defines the maximum amount of characters that may be used in the content tag field.

See Also:
Constant Field Values

SOURCE_DOMAIN_MAX_NAME_LENGTH

static final int SOURCE_DOMAIN_MAX_NAME_LENGTH
Defines the maximum amount of characters that may be used in the domain name field.

See Also:
Constant Field Values