Closed arinban closed 6 years ago
SecurityUtils.zip This code change will create password credentials from the GenericJMSRAProperties when no subject is available.
This code needs to be added to the com\sun\genericra\util\SecurityUtils.java method public static PasswordCredential getPasswordCredential
logger.fine("mcf: " + mcf + ", subject: " + subject + ", info: " + info); if (info == null) { if (subject == null) { if (mcf instanceof GenericJMSRAProperties) { GenericJMSRAProperties props = (GenericJMSRAProperties)mcf; String userName = props.getUserName(); String pwd = props.getPassword(); if (userName != null || pwd != null) { return new PasswordCredential(userName, pwd == null ? new char[0] : pwd.toCharArray()); } }
@arinban Commented
@arinban Commented @arinban Commented
Closing this as this issue is migrated to https://github.com/ari-ban/test1/issues/62
SecurityUtils.zip This code change will create password credentials from the GenericJMSRAProperties when no subject is available.
This code needs to be added to the com\sun\genericra\util\SecurityUtils.java method public static PasswordCredential getPasswordCredential