import org.jboss.security.SimplePrincipal;
class SecurityDomainResourceDefinition extends SimpleResourceDefinition {
public static final SimpleAttributeDefinition CACHE_TYPE = new SimpleAttributeDefinitionBuilder(Constants.CACHE_TYPE, ModelType.STRING, true)
.setAllowExpression(true)
.build();
<BUG>public static final SimpleAttributeDefinition EXPORT_ELYTRON_REALM = new SimpleAttributeDefinitionBuilder(Constants.EXPORT_ELYTRON_REALM, ModelType.BOOLEAN, true)

.setAllowExpression(true)

.setDefaultValue(new ModelNode(false))
.build();
static final AttributeDefinition[] ATTRIBUTES = new AttributeDefinition[] {CACHE_TYPE, EXPORT_ELYTRON_REALM};
</BUG>
private final boolean registerRuntimeOnly;

import org.jboss.security.SimplePrincipal;
class SecurityDomainResourceDefinition extends SimpleResourceDefinition {
public static final SimpleAttributeDefinition CACHE_TYPE = new SimpleAttributeDefinitionBuilder(Constants.CACHE_TYPE, ModelType.STRING, true)
.setAllowExpression(true)
.build();
public static final SimpleAttributeDefinition EXPORT_ELYTRON_REALM = new SimpleAttributeDefinitionBuilder(Constants.EXPORT_ELYTRON_REALM, ModelType.STRING, true)
.setAllowExpression(false)
.setValidator(new StringLengthValidator(1, true))
.build();
public static final AttributeDefinition[] ATTRIBUTES = new AttributeDefinition[] {CACHE_TYPE, EXPORT_ELYTRON_REALM};
private final boolean registerRuntimeOnly;
