Troubleshooting Security
If you want to monitor security access, you can set the java.security.debug
System property. To see a list of all debugging options, use the help
setting:
java -Djava.security.debug=help
Note:
Separate multiple options with a comma.
For more information, on debugging utilities please visit JSSE Reference Guide.
The following table lists java.security.debug
options and links to further information about each option:
Option | Description | Further Information |
---|---|---|
all |
Turn on all debugging | |
access |
Print all results from the You can use the following options with the
You can use the following options with the
|
|
certpath |
Turns on debugging for the PKIX CertPathValidator and CertPathBuilder implementations. You can use the ocsp option with the certpath option for OCSP protocol tracing. A hexadecimal dump of the OCSP request and response bytes is displayed. |
|
combiner |
SubjectDomainCombiner debugging |
|
gssloginconfig |
Java GSS (Generic Security Services) login configuration file debugging |
|
configfile |
JAAS (Java Authentication and Authorization Service) configuration file loading | |
configparser |
JAAS configuration file parsing | |
jar |
JAR file verification |
|
logincontext |
LoginContext results |
|
policy |
Loading and granting permissions with policy file |
|
provider |
Security provider debugging |
|
scl |
Permissions SecureClassLoader assigns |