WildFly Security Subsystem Configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
=Adding a New Security Domain= | =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>