[jboss-jira] [JBoss JIRA] (WFLY-2604) The CLI should be capable of updating/adding/removing indivisual items in a list

Tom Fonteyne (JIRA) jira-events at lists.jboss.org
Wed Dec 4 06:52:06 EST 2013


Tom Fonteyne created WFLY-2604:
----------------------------------

             Summary: The CLI should be capable of updating/adding/removing indivisual items in a list
                 Key: WFLY-2604
                 URL: https://issues.jboss.org/browse/WFLY-2604
             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: Alexey Loubyansky


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