[jboss-jira] [JBoss JIRA] (WFCORE-1790) Invalid value-type for some operation arguments
Brian Stansberry (JIRA)
issues at jboss.org
Tue Sep 13 12:39:00 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292832#comment-13292832 ]
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}}]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list