WildFly CLI - Add a JBossWeb Global Valve

From NovaOrdis Knowledge Base
Revision as of 20:35, 8 March 2017 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.