WildFly CLI - Add a JBossWeb Global Valve
Jump to navigation
Jump to search
Internal
Overview
/subsystem=web/valve=ExampleValve:add(module="io.novaordis.example",class-name="io.novaordis.example.ExampleValve") /subsystem=web/valve=ExampleValve:add-param(param-name="someParameter", param-value="some value")
where "module=io.novaordis.example" is the name of the WildFly module that contains the code for the login module.
For more details on how to add a WildFly module via CLI, see Add a WildFly Module with CLI.