Bernard Tison created AS7-4438:
----------------------------------
Summary: Keystore password in security realm keystore definition does not
support expression
Key: AS7-4438
URL:
https://issues.jboss.org/browse/AS7-4438
Project: Application Server 7
Issue Type: Bug
Reporter: Bernard Tison
The keystore password in the security realm keystore definition does not support
expressions. As a result the password cannot be masked.
This in contrast to the key password, which does support expressions.
Relevant code fragment from org.jboss.as.domain.management.security.KeystoreAttributes :
public static final SimpleAttributeDefinition KEY_PASSWORD = new
SimpleAttributeDefinitionBuilder(
ModelDescriptionConstants.KEY_PASSWORD, ModelType.STRING,
true).setXmlName(ModelDescriptionConstants.KEY_PASSWORD)
.setValidator(new StringLengthValidator(1, Integer.MAX_VALUE, true,
true)).setAllowExpression(true)
.setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES).build();
public static final SimpleAttributeDefinition KEYSTORE_PASSWORD = new
SimpleAttributeDefinitionBuilder(ModelDescriptionConstants.KEYSTORE_PASSWORD,
ModelType.STRING, false)
.setXmlName(ModelDescriptionConstants.KEYSTORE_PASSWORD).setValidator(new
StringLengthValidator(1, Integer.MAX_VALUE, false, false))
.setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES).build();
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira