User experience with Elytron domain model is sub-optimal.
It's hard to define correctly complex attributes in the Elytron Subsystem configuration. It's much simpler to write the CLI with primitive attributes instead. Also the Management console is not able to generate forms for complex-types automatically.
1) Domain model of subsystem is too flat. Every resource (realms, mappers, factories ...) is located at the base level of Elytron subsystem. Then it is hard to orientate in subsystem since it does not have deeper structure.
Suggestion:
It can be structuralized similar as PicketBox subsystem. There could be some subresources like realms, domains etc.
2) Elytron subsystem contains a lot of complex types which strongly complicate setting of attributes for resources. It mainly affects
- add operation - there is insufficient support from CLI since tab button not sufficiently works. It is also non-intuitive and error-prone when all setting is mixed to one difficult command.
- write-attribute operation - using write-attribute for some values from complex inner attribute is really hard - e.g. set particular value for some inner attribute of complex object stored in list.
It is different aproach than most of other subsystems uses.
Suggestion:
Replace complex attributes with child resources.
This could be also discussed with UX team. Once this domain model will be released in WildFly/EAP then it will be very hard to rewrite it do to backward compatibility.
- is cloned by
-
WFLY-7159 Too complex Elytron Domain Model
- Closed