[jboss-jira] [JBoss JIRA] (AS7-2432) CLI does not allow a new security-realm to be defined within the management section of a host

Alexey Loubyansky (Updated) (JIRA) jira-events at lists.jboss.org
Mon Oct 31 08:15:45 EDT 2011


     [ https://issues.jboss.org/browse/AS7-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Loubyansky updated AS7-2432:
-----------------------------------

    Assignee: Darran Lofthouse  (was: Alexey Loubyansky)


Darran, can you take it? The problem is the model description is missing attributes. So, the validation of the operation request fails.
I added it because there were complains that unsupported properties/arguments are allowed in requests and on the server side there is no validation at all.

org.jboss.as.controller.descriptions.common.ManagementDescription

    public static ModelNode getAddManagementSecurityRealmDescription(Locale locale) {
        final ResourceBundle bundle = getResourceBundle(locale);
        final ModelNode root = new ModelNode();
        root.get(OPERATION_NAME).set(ADD);
        root.get(DESCRIPTION).set(bundle.getString("core.management.security-realm.add"));
        System.out.println("====> " + root);
        //TODO attributes
        return root;
    }

Thanks.
                
> CLI does not allow a new security-realm to be defined within the management section of a host
> ---------------------------------------------------------------------------------------------
>
>                 Key: AS7-2432
>                 URL: https://issues.jboss.org/browse/AS7-2432
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Rich Raposa
>            Assignee: Darran Lofthouse
>
> The CLI does not allow for attributes to be defined when adding a new security realm at the host=master/core-service=management level. 
> To replicate, enter the following command in the CLI:
> /host=master/core-service=management/security-realm=MyDomainRealm:add()
> Within the add() operation I need to define an <authentication> section, but the CLI will not allow it. The message is:
> Operation 'add' does not expect any property.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list