[jboss-jira] [JBoss JIRA] (WFLY-2603) The CLI should be capable of updating/adding/removing indivisual items in a list
Tomaz Cerar (JIRA)
jira-events at lists.jboss.org
Wed Dec 4 06:58:06 EST 2013
[ https://issues.jboss.org/browse/WFLY-2603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar closed WFLY-2603.
-----------------------------
Assignee: Tomaz Cerar (was: Alexey Loubyansky)
Resolution: Duplicate Issue
Duplicate of WFLY-548
> The CLI should be capable of updating/adding/removing indivisual items in a list
> --------------------------------------------------------------------------------
>
> Key: WFLY-2603
> URL: https://issues.jboss.org/browse/WFLY-2603
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: CLI
> Affects Versions: 8.0.0.Beta1
> Environment: WildFly current build
> Reporter: Tom Fonteyne
> Assignee: Tomaz Cerar
>
> Here is an example using a security domain. The issue is of course valid for all locations where a list of objects is expected.
> (for brevity, I only list a couple of options)
> /subsystem=security/security-domain=LdapRealm:add(cache-type=default)
> /subsystem=security/security-domain=LdapRealm/authentication=classic:add(login-modules=[{"code" => "LdapExtended", "flag" => "required", "module-options" => {"java.naming.provider.url" => "ldap://server.redhat.com:389/", "roleRecursion" => "0" }}])
> There is currently no way to change a *single* option in that list. You can only remove the attribute "module-options" completely and re-add it.
> We need something like:
> /subsystem=security/security-domain=LdapRealm/authentication=classic/login-module=LdapExtended:write-list-attribute(name=module-options,value={"roleRecursion" => "1"})
> and similarly for "read" and "undefine" methods
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list