EAP 7.1 cache-type attribute of security-domain element accepts invalid values

Solution Unverified - Updated -

Issue

It is possible to define the following without JBoss complaining:

<subsystem xmlns="urn:jboss:domain:security:3.0">
<security-domain name="iskv21c" cache-type="InvalidValue">
[...]

Expected behavior is that JBoss complains about invalid value "InvalidValue" (e.g. throws an Exception, refuses to start,..)

According to the CLI, there are two valid options: default and infinispan
and only those two options should be accepted during validation process.

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.x and 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.