5544N/A# This is the "master security properties file".
5544N/A# In this file, various security properties are set for use by
5544N/A# Cryptography Package Providers ("providers" for short). The term
5544N/A# "provider" refers to a package or set of packages that supply a
5544N/A# concrete implementation of a subset of the cryptography aspects of
5544N/A# the Java Security API. A provider may, for example, implement one or
5544N/A# more digital signature algorithms or message digest algorithms.
5544N/A# Each provider must implement a subclass of the Provider class.
5544N/A# To register a provider in this master security properties file,
5544N/A# specify the Provider subclass name and priority in the format
5544N/A# This declares a provider, and specifies its preference
5544N/A# order n. The preference order is the order in which providers are
5544N/A# searched for requested algorithms (when no specific provider is
5544N/A# requested). The order is 1-based; 1 is the most preferred, followed
5544N/A# <className> must specify the subclass of the Provider class whose
5544N/A# constructor sets the values of various properties that are required
5544N/A# for the Java Security API to look up the algorithms or other
5544N/A# facilities implemented by the provider.
5544N/A# There is a default provider that comes standard with the JDK. It
5544N/A# is called the "SUN" provider, and its Provider subclass
5544N/A# "SUN" provider is registered via the following:
5544N/A# (The number 1 is used for the default provider.)
5544N/A# Note: Providers can be dynamically registered instead by calls to
5544N/A# either the addProvider or insertProviderAt method in the Security
5544N/A# List of providers and their preference orders (see above):
5544N/A# Select the source of seed data for SecureRandom. By default an
5544N/A# attempt is made to use the entropy gathering device specified by
5544N/A# exists, a special SecureRandom implementation is activated by default.
5544N/A# enables use of the Microsoft CryptoAPI seed functionality.
5544N/A# The entropy gathering device is described as a URL and can also
5544N/A# Default login configuration file
5544N/A# Class to instantiate as the system Policy. This is the name of the class
5544N/A# that will be used as the Policy object.
5544N/A# The default is to have a single system-wide policy file,
5544N/A# and a policy file in the user's home directory.
5544N/A# whether or not we expand properties in the policy file
5544N/A# if this is set to false, properties (${...}) will not be expanded in policy
5544N/A# whether or not we allow an extra policy to be passed on the command line
5544N/A# whether or not we look into the IdentityScope for trusted Identities
5544N/A# when encountering a 1.1 signed JAR file. If the identity is found
5544N/A# and is trusted, we grant it AllPermission.
5544N/A# List of comma-separated packages that start with or equal this string
5544N/A# will cause a security exception to be thrown when
5544N/A# passed to checkPackageAccess unless the
5544N/A# corresponding RuntimePermission ("accessClassInPackage."+package) has
5544N/A# List of comma-separated packages that start with or equal this string
5544N/A# will cause a security exception to be thrown when
5544N/A# passed to checkPackageDefinition unless the
5544N/A# corresponding RuntimePermission ("defineClassInPackage."+package) has
5544N/A# by default, none of the class loaders supplied with the JDK call
5544N/A# Determines whether this properties file can be appended to
5544N/A# Determines the default key and trust manager factory algorithms for
5544N/A# The Java-level namelookup cache policy for successful lookups:
5544N/A# any negative value: caching forever
5544N/A# any positive value: the number of seconds to cache an address for
5544N/A# default value is forever (FOREVER). For security reasons, this
5544N/A# caching is made forever when a security manager is set. When a security
5544N/A# manager is not set, the default behavior in this implementation
5544N/A# is to cache for 30 seconds.
5544N/A# NOTE: setting this to anything other than the default value can have
5544N/A# serious security implications. Do not set it unless
5544N/A# you are sure you are not exposed to DNS spoofing attack.
5544N/A# The Java-level namelookup cache policy for failed lookups:
5544N/A# any negative value: cache forever
5544N/A# any positive value: the number of seconds to cache negative lookup results
5544N/A# In some Microsoft Windows networking environments that employ
5544N/A# the WINS name service in addition to DNS, name service lookups
5544N/A# that fail may take a noticeably long time to return (approx. 5 seconds).
5544N/A# For this reason the default caching policy is to maintain these
5544N/A# Properties to configure OCSP for certificate revocation checking
5544N/A# By default, OCSP is not used for certificate revocation checking.
5544N/A# This property enables the use of OCSP when set to the value "true".
5544N/A# NOTE: SocketPermission is required to connect to an OCSP responder.
5544N/A# Location of the OCSP responder
5544N/A# By default, the location of the OCSP responder is determined implicitly
5544N/A# from the certificate being validated. This property explicitly specifies
5544N/A# the location of the OCSP responder. The property is used when the
5544N/A# Authority Information Access extension (defined in RFC 3280) is absent
5544N/A# from the certificate or when it requires overriding.
5544N/A# Subject name of the OCSP responder's certificate
5544N/A# By default, the certificate of the OCSP responder is that of the issuer
5544N/A# of the certificate being validated. This property identifies the certificate
5544N/A# of the OCSP responder when the default does not apply. Its value is a string
5544N/A# distinguished name (defined in RFC 2253) which identifies a certificate in
5544N/A# the set of certificates supplied during cert path validation. In cases where
5544N/A# the subject name alone is not sufficient to uniquely identify the certificate
5544N/A# property is set then those two properties are ignored.
5544N/A# Issuer name of the OCSP responder's certificate
5544N/A# By default, the certificate of the OCSP responder is that of the issuer
5544N/A# of the certificate being validated. This property identifies the certificate
5544N/A# of the OCSP responder when the default does not apply. Its value is a string
5544N/A# distinguished name (defined in RFC 2253) which identifies a certificate in
5544N/A# the set of certificates supplied during cert path validation. When this
5544N/A# Serial number of the OCSP responder's certificate
5544N/A# By default, the certificate of the OCSP responder is that of the issuer
5544N/A# of the certificate being validated. This property identifies the certificate
5544N/A# of the OCSP responder when the default does not apply. Its value is a string
5544N/A# of hexadecimal digits (colon or space separators may be present) which
5544N/A# identifies a certificate in the set of certificates supplied during cert path
5544N/A# is set then this property is ignored.
5544N/A# Policy for failed Kerberos KDC lookups:
5544N/A# When a KDC is unavailable (network error, service failure, etc), it is
5544N/A# put inside a blacklist and accessed less often for future requests. The
5544N/A# value (case-insensitive) for this policy can be:
5544N/A# KDCs in the blacklist are always tried after those not on the list.
5544N/A# tryLess[:max_retries,timeout]
5544N/A# KDCs in the blacklist are still tried by their order in the configuration,
5544N/A# but with smaller max_retries and timeout values. max_retries and timeout
5544N/A# are optional numerical parameters (default 1 and 5000, which means once
5544N/A# and 5 seconds). Please notes that if any of the values defined here is
5544N/A# Whenever a KDC is detected as available, it is removed from the blacklist.
5544N/A# refreshKrb5Config=true to a JAAS configuration file so that
krb5.conf is
5544N/A# reloaded whenever a JAAS authentication is attempted.
5544N/A# Algorithm restrictions for certification path (CertPath) processing
5544N/A# In some environments, certain algorithms or key lengths may be undesirable
5544N/A# for certification path building and validation. For example, "MD2" is
5544N/A# generally no longer considered to be a secure hash algorithm. This section
5544N/A# describes the mechanism for disabling algorithms based on algorithm name
5544N/A#
and/or key length. This includes algorithms used in certificates, as well
5544N/A# as revocation information such as CRLs and signed OCSP Responses.
5544N/A# The syntax of the disabled algorithm string is described as this Java
5544N/A# " DisabledAlgorithm { , DisabledAlgorithm } "
5544N/A# AlgorithmName [Constraint]
5544N/A# keySize Operator DecimalInteger
5544N/A# DecimalDigit {DecimalDigit}
5544N/A# The "AlgorithmName" is the standard algorithm name of the disabled
5544N/A# algorithm. See "Java Cryptography Architecture Standard Algorithm Name
5544N/A# Documentation" for information about Standard Algorithm Names. Matching
5544N/A# is performed using a case-insensitive sub-element matching rule. (For
5544N/A# example, in "SHA1withECDSA" the sub-elements are "SHA1" for hashing and
5544N/A# "ECDSA" for signatures.) If the assertion "AlgorithmName" is a
5544N/A# sub-element of the certificate algorithm name, the algorithm will be
5544N/A# rejected during certification path building and validation. For example,
5544N/A# the assertion algorithm name "DSA" will disable all certificate algorithms
5544N/A# that rely on DSA, such as NONEwithDSA, SHA1withDSA. However, the assertion
5544N/A# will not disable algorithms related to "ECDSA".
5544N/A# A "Constraint" provides further guidance for the algorithm being specified.
5544N/A# The "KeySizeConstraint" requires a key of a valid size range if the
5544N/A# "AlgorithmName" is of a key algorithm. The "DecimalInteger" indicates the
5544N/A# key size specified in number of bits. For example, "RSA keySize <= 1024"
5544N/A# indicates that any RSA key with key size less than or equal to 1024 bits
5544N/A# should be disabled, and "RSA keySize < 1024, RSA keySize > 2048" indicates
5544N/A# that any RSA key with key size less than 1024 or greater than 2048 should
5544N/A# be disabled. Note that the "KeySizeConstraint" only makes sense to key
5544N/A# Note: This property is currently used by Oracle's PKIX implementation. It
5544N/A# is not guaranteed to be examined and used by other implementations.
5544N/A# In some environments, certain algorithms or key lengths may be undesirable
5544N/A# when using
SSL/TLS. This section describes the mechanism for disabling
5544N/A# algorithms during
SSL/TLS security parameters negotiation, including cipher
5544N/A# suites selection, peer authentication and key exchange mechanisms.
5544N/A# For PKI-based peer authentication and key exchange mechanisms, this list
5544N/A# of disabled algorithms will also be checked during certification path
5544N/A# building and validation, including algorithms used in certificates, as
5544N/A# well as revocation information such as CRLs and signed OCSP Responses.
5544N/A# syntax of the disabled algorithm string.
5544N/A# Note: This property is currently used by Oracle's JSSE implementation.
5544N/A# It is not guaranteed to be examined and used by other implementations.