[jboss-jira] [JBoss JIRA] (AS7-5411) adding JSSE to a security domain with the CLI does not persist

Tomaz Cerar (JIRA) jira-events at lists.jboss.org
Wed Dec 19 09:52:08 EST 2012


    [ https://issues.jboss.org/browse/AS7-5411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742405#comment-12742405 ] 

Tomaz Cerar edited comment on AS7-5411 at 12/19/12 9:50 AM:
------------------------------------------------------------

Problem is in CLI command and not in subsystem itself.

in provided command there is keystore set in {noformat}[{"url" => ...}]{noformat}
which means it is a list of objects and not a object.
proper command is:
{noformat}
/subsystem=security/security-domain=mydomain/jsse=classic:add(keystore={"url" => "${jboss.server.config.dir}/jboss.keystore","password" => "secret"})
{noformat}

however, CLI should report validation error. That part was improved and now returns for specified case
{noformat}
"outcome" => "failed",
"failure-description" => "JBAS014688: Wrong type for keystore. Expected [OBJECT] but was LIST",
"rolled-back" => true
{noformat}
                
      was (Author: ctomc):
    Problem is in CLI command and not in subsystem itself.

in provided command there is keystore set in {noformat}[{"url" => ...}]{noformat}
which means it is a list of objects and not a object.
proper command is:
{noformat}
/subsystem=security/security-domain=mydomain/jsse=classic:add(keystore={"url" => "${jboss.server.config.dir}/jboss.keystore","password" => "secret"})
{noformat}
                  
> adding JSSE to a security domain with the CLI does not persist
> --------------------------------------------------------------
>
>                 Key: AS7-5411
>                 URL: https://issues.jboss.org/browse/AS7-5411
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management, Security
>    Affects Versions: 7.1.2.Final (EAP)
>            Reporter: Tom Fonteyne
>            Assignee: Tomaz Cerar
>             Fix For: 7.2.0.Alpha1
>
>
> Adding JSSE setting to a security domain works in-memory, but they are not written to the xml file.

--
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