Permalink
Browse files

[AS7-4438] Allow for the keystore password to be specified as an expr…

…ession.
  • Loading branch information...
1 parent 80de3df commit 0f20321ddc89e1ec8bd1564f02d33fbab1721f3c @darranl darranl committed Apr 10, 2012
@@ -49,7 +49,7 @@
.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))
+ .setXmlName(ModelDescriptionConstants.KEYSTORE_PASSWORD).setValidator(new StringLengthValidator(1, Integer.MAX_VALUE, false, true)).setAllowExpression(true)
.setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES).build();
public static final SimpleAttributeDefinition KEYSTORE_PATH = new SimpleAttributeDefinitionBuilder(ModelDescriptionConstants.KEYSTORE_PATH, ModelType.STRING, false)

0 comments on commit 0f20321

Please sign in to comment.