WildFly CLI - Add a Security Domain and a Custom Login Module: Difference between revisions
Jump to navigation
Jump to search
m (Ovidiu moved page WildFly CLI - Add a Security Domain to WildFly CLI - Add a Security Domain and a Custom Login Module without leaving a redirect) |
|||
Line 4: | Line 4: | ||
= | =Add the Security Domain= | ||
<pre> | <pre> | ||
/subsystem=security/security-domain=example:add | /subsystem=security/security-domain=example:add | ||
/subsystem=security/security-domain=example/authentication=classic:add | /subsystem=security/security-domain=example/authentication=classic:add | ||
reload | reload | ||
</pre> | |||
=Add the Custom Login Module= | |||
<pre> | |||
/subsystem=security/security-domain=example/authentication=classic/login-module=example-login-module:add(code="io.novaordis.example.jaas.LoginModule",flag="required",module=io.novaordis.example,module-options={configurationFile=.../something.cfg}) | |||
</pre> | </pre> | ||
where "module=io.novaordis.example" is the name of the WildFly module that contains the code for the login module. |
Revision as of 20:31, 8 March 2017
Internal
Add the Security Domain
/subsystem=security/security-domain=example:add /subsystem=security/security-domain=example/authentication=classic:add reload
Add the Custom Login Module
/subsystem=security/security-domain=example/authentication=classic/login-module=example-login-module:add(code="io.novaordis.example.jaas.LoginModule",flag="required",module=io.novaordis.example,module-options={configurationFile=.../something.cfg})
where "module=io.novaordis.example" is the name of the WildFly module that contains the code for the login module.