Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5615

Security module options not parsed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • 10.0.0.CR4
    • Management, Security
    • None

      I've created a login module with several options and the result appears in standalone.xml. However when I read the resource using the CLI, these options are not shown.

       <security-domain name="myDomain" cache-type="default">
                          <authentication>
                              <login-module name="myauth" code="Simple" flag="optional"/>
                              <login-module name="myauth2" code="SimpleUsers" flag="sufficient">
                                  <module-option name="foo" value="bar"/>
                                  <module-option name="one" value="two"/>
                              </login-module>
                          </authentication>
                      </security-domain>
      
      [standalone@localhost:9990 /] /subsystem=security/security-domain=myDomain/authentication=classic/login-module=myauth:read-resource(recursive=true)
      {
          "outcome" => "success",
          "result" => {
              "code" => "Simple",
              "flag" => "optional",
              "module" => undefined,
              "module-options" => undefined
          }
      }
      

              bstansbe@redhat.com Brian Stansberry
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: