]
RH Bugzilla Integration commented on WFLY-3696:
-----------------------------------------------
Paul Gier <pgier(a)redhat.com> changed the Status of [bug
Security domain configuration doesn't allow empty or missing
login-module-stack
-------------------------------------------------------------------------------
Key: WFLY-3696
URL:
https://issues.jboss.org/browse/WFLY-3696
Project: WildFly
Issue Type: Bug
Components: Security
Affects Versions: 8.1.0.Final
Reporter: Chao Wang
Assignee: Chao Wang
https://bugzilla.redhat.com/show_bug.cgi?id=901075 description:
project_key: JBPAPP6
Adding a security domain with JASPI authentication fails if there is no (or is empty)
login-module-stack. It should be possible to add custom ServerAuthModule, which
doesn't use JAAS login modules.
{code:xml}
<security-domain name="jmx-console" cache-type="default">
<authentication-jaspi>
<!-- FIXME: the not empty login-module-stack must be provided even it's not used
-->
<login-module-stack name="lm-stack">
<login-module code="UsersRoles" flag="required"/>
</login-module-stack>
<auth-module code="org.jboss.example.CustomServerAuthModule"
flag="required">
<module-option name="option1" value="value1" />
</auth-module>
</authentication-jaspi>
</security-domain>
{code}
It should be possible to remove here the login-module-stack element.