[jboss-jira] [JBoss JIRA] (AS7-4438) Keystore password in security realm keystore definition does not support expression
Darran Lofthouse (JIRA)
jira-events at lists.jboss.org
Tue Apr 10 05:27:47 EDT 2012
[ https://issues.jboss.org/browse/AS7-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darran Lofthouse reassigned AS7-4438:
-------------------------------------
Assignee: Darran Lofthouse
> 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
> Components: Domain Management, Security
> Reporter: Bernard Tison
> Assignee: Darran Lofthouse
> Fix For: 7.1.2.Final-redhat1
>
>
> 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
More information about the jboss-jira
mailing list