[jboss-jira] [JBoss JIRA] (WFLY-5615) Security module options not parsed

Brian Stansberry (JIRA) issues at jboss.org
Wed Nov 4 20:31:00 EST 2015


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

Brian Stansberry resolved WFLY-5615.
------------------------------------
    Resolution: Cannot Reproduce Bug


Using the correct address works fine:

{code}
[standalone at 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
    }
}
[standalone at localhost:9990 /] /subsystem=security/security-domain=myDomain/authentication=classic/login-module=myauth2:read-resource(recursive=true)
{
    "outcome" => "success",
    "result" => {
        "code" => "SimpleUsers",
        "flag" => "sufficient",
        "module" => undefined,
        "module-options" => {
            "foo" => "bar",
            "one" => "two"
        }
    }
}
{code}

> Security module options not parsed
> ----------------------------------
>
>                 Key: WFLY-5615
>                 URL: https://issues.jboss.org/browse/WFLY-5615
>             Project: WildFly
>          Issue Type: Bug
>          Components: Domain Management, Security
>    Affects Versions: 10.0.0.CR4
>            Reporter: Heiko Braun
>            Assignee: Brian Stansberry
>            Priority: Critical
>
> 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. 
> {noformat}
>  <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>
> {noformat}
> {noformat}
> [standalone at 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
>     }
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list