< prev index next >
src/java.base/share/conf/security/java.security
Print this page
*** 1058,1074 ****
# pattern allows java.lang.Enum, java.security.KeyRep, java.security.KeyRep$Type,
# and javax.crypto.spec.SecretKeySpec and rejects all the others.
jceks.key.serialFilter = java.base/java.lang.Enum;java.base/java.security.KeyRep;\
java.base/java.security.KeyRep$Type;java.base/javax.crypto.spec.SecretKeySpec;!*
#
! # Enhanced exception message text
#
! # By default, socket exception messages do not include potentially sensitive
! # information such as hostnames or port numbers. This property may be set to one
! # or more values, separated by commas, and with no white-space. Each value
! # represents a category of enhanced information. Currently, the only category defined
! # is "hostInfo" which enables more detailed information in the IOExceptions
! # thrown by java.net.Socket and also the socket types in the java.nio.channels package.
! # The setting in this file can be overridden by a system property of the same name
! # and with the same syntax and possible values.
! #jdk.net.includeInExceptions=hostInfo
--- 1058,1084 ----
# pattern allows java.lang.Enum, java.security.KeyRep, java.security.KeyRep$Type,
# and javax.crypto.spec.SecretKeySpec and rejects all the others.
jceks.key.serialFilter = java.base/java.lang.Enum;java.base/java.security.KeyRep;\
java.base/java.security.KeyRep$Type;java.base/javax.crypto.spec.SecretKeySpec;!*
+
+ #
+ # Enhanced exception message information
+ #
+ # By default, several exception messages do not include potentially sensitive
+ # information such as file names, host names, or port numbers. This property may
+ # be used to enable categories of enhanced information in exception messages.
+ # The property accepts one or more comma separated values, each of which
+ # represents a category of enhanced exception message information to enable.
+ # Values are case-insensitive. Leading and trailing whitespaces, surrounding
+ # each value, are ignored. Unknown values are ignored.
+ #
+ # The categories, to enable enhanced exception message information, are:
+ #
+ # hostInfo - IOExceptions thrown by java.net.Socket and also the socket types
+ # in the java.nio.channels package will contain enhanced exception
+ # message information
#
! # The property setting in this file can be overridden by a system property of
! # the same name, with the same syntax and possible values.
#
! #jdk.includeInExceptions=hostInfo
< prev index next >