-
Bug
-
Resolution: Done
-
Major
-
8.1.0.Final
-
None
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.
<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>
It should be possible to remove here the login-module-stack element.