]
Brian Stansberry commented on WFLY-5615:
----------------------------------------
[~heiko.braun] In the description your CLI read-resource is against "myauth" not
"myauth2". Is this a problem if the correct address is used?
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@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}