Skip to main content

Source code revision

svn

summary: Fix for GLASSFISH-19945 - java.lang.IllegalStateException thrown while running some security WSS tests
revision: 61118
author: tjquinn
date: 2013-04-03 04:18:21 UTC (3 years)
message: Fix for GLASSFISH-19945 - java.lang.IllegalStateException thrown while running some security WSS tests

Formerly, the SecuritySupportImpl class would get the passwords to use for the keystore and the truststore from the MasterPasswordHelper. Only if the keystore password was null would it check the standard system properties for the passwords.

If an appclient command specified a keystore or truststore password using a system property settingon the command line, SecuritySupportImpl would ignore them (if the master pw helper returned non-null ones, which it would: the defaults.)

This change causes the SecuritySupportImpl to check for and use the system property settings either if the passwords from the master password helper are null or if the current environment is the ACC.

Tests: QL, SQE test (appserver-sqe/pe/security/wss/dynencryptkey/servletws)
Change Path Actions
M trunk/main/nucleus/security/ssl-impl/src/main/java/com/sun/enterprise/security/ssl/impl/SecuritySupportImpl.java
 
 
Close
loading
Please Confirm
Close