WildFly Security Subsystem Configuration

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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>