]
Brian Stansberry commented on WFCORE-1790:
------------------------------------------
Generally Map<String, String> type attributes are discouraged because they can't
be fully self-describing. But in some cases there's really no alternative, as the
attribute is configuring some plugin point and we can't know in advance what options
are supported by that plugin.
Invalid value-type for some operation arguments
-----------------------------------------------
Key: WFCORE-1790
URL:
https://issues.jboss.org/browse/WFCORE-1790
Project: WildFly Core
Issue Type: Bug
Components: Security, Server
Reporter: Jean-Francois Denise
Assignee: Darran Lofthouse
vault:add and authentication=<x>:add have arguments of type OBJECT with a
value-type of STRING. The arguments passed to the operations are complex-type, so the
value-type should be containing the complex type description.
Examples:
/core-service=vault:add(vault-options={KEYSTORE_PASSWORD=>MASK-20OB41ZkH8YzlPTICpKg5.,KEYSTORE_ALIAS=>jboss,SALT=>12345678,ITERATION_COUNT=>50,ENC_FILE_DIR=>/path/to/enc/file})
/subsystem=security/security-domain=test/authentication=classic:add(login-modules=[{code=UsersRoles,flag=required,module-options={usersProperties=$\{jboss.server.config.dir\}/users.properties,rolesProperties=$\{jboss.server.config.dir\}/roles.properties}}]