WildFly CLI - Add a JBossWeb Global Valve: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 10: Line 10:
</pre>
</pre>


where "module" contains the
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 [[WildFly CLI - Add a Module|Add a WildFly Module with CLI]].

Latest revision as of 20:35, 8 March 2017

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.