-
Bug
-
Resolution: Done
-
Major
-
3.0.0.Alpha1
-
Workaround Exists
-
With the following attribute definition: -
static final SimpleAttributeDefinition REPLACEMENT = new SimpleAttributeDefinitionBuilder(ElytronDescriptionConstants.REPLACEMENT, ModelType.STRING, false) .setAllowExpression(true) .setMinSize(0) .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES) .build();
The following error is reported if an empty string is used as a parameter: -
[standalone@localhost:9990 /] ./subsystem=elytron/regex-name-rewriter=strip-realm:add(pattern="@ELYTRON.ORG", replacement="", replace-all=true) { "outcome" => "failed", "failure-description" => "WFLYCTL0113: '' is an invalid value for parameter replacement. Values must have a minimum length of 1 characters", "rolled-back" => true }