WildFly Security Subsystem Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * WildFly Security Subsystem")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[WildFly Security Subsystem#Subjects|WildFly Security Subsystem]]
* [[WildFly Security Subsystem#Subjects|WildFly Security Subsystem]]
=Adding a New Security Domain=
<pre>
<subsystem xmlns="urn:jboss:domain:security:1.2">
    <security-domains>
        ...
        <security-domain name="idp" cache-type="default">
            <authentication>
                <login-module code="UsersRoles" flag="required">
                      <module-option name="usersProperties" value="users.properties"/>
                      <module-option name="rolesProperties" value="roles.properties"/>
                </login-module>
            </authentication>
        </security-domain>
    </security-domains>
</subsystem>
</pre>
=Adding a New Security Domain and a Login Module with CLI=
{{Internal|WildFly CLI - Add a Security Domain and a Custom Login Module|Adding a New Security Domain and a Login Module with CLI}}

Latest revision as of 20:40, 8 March 2017

Internal

Adding a New Security Domain

<subsystem xmlns="urn:jboss:domain:security:1.2">
    <security-domains>
        ...
        <security-domain name="idp" cache-type="default">
            <authentication>
                 <login-module code="UsersRoles" flag="required">
                      <module-option name="usersProperties" value="users.properties"/>
                      <module-option name="rolesProperties" value="roles.properties"/>
                 </login-module>
            </authentication>
        </security-domain>
    </security-domains>
</subsystem>

Adding a New Security Domain and a Login Module with CLI

Adding a New Security Domain and a Login Module with CLI